![](file:///D:AndroidDocumentsTencent Files1746788394ImageGroupSONT`IDQ~A`]C6W7[R48Q42.png)
- 错误
错误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.
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中的字体选项