码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2015-06-16 22:52:37      阅读:2012      评论:0      收藏:0      [点我收藏+]

标签:

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

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

标签:

原文地址:http://www.cnblogs.com/zhengbin/p/4581823.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!