【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