【Unity3D】生成工程报错解决—UnityEditor.HostView:OnGUI()  Error building Player: Couldn't build player because of unsupported data on target platform.-LMLPHP
  • 错误
错误1:
An asset is marked as dont save, but is included in the build:

unityEditor.HostView:OnGUI()

错误2:
Building - Failed to write file: sharedassets0.assets
UnityEditor.HostView:OnGUI()

错误3:
Error building Player: Couldn't build player because of unsupported data on target platform.

 
 
  • 解决

  原因是工程中使用了NGUI,调整每一个Label中的UILabel组件中的字体

  如果选择unity自带字体,则不行,应调整为NGUI中的字体选项

04-30 06:54