您的位置:首页 > 移动开发 > Unity3D

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

2015-06-16 21:18 2076 查看


错误

错误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中的字体选项
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: