【Unity3D】生成工程报错解决—UnityEditor.HostView:OnGUI() Error building Player: Couldn't build player because of unsupported data on target platform.


  • 错误
错误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中的字体选项


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM