Unable to instantiate prefab. Prefab may be broken.(Unity2018.2.2報錯)


將Prefab資源導入Unity的時候,一切正常,當拖拽的時候,突然給了一個警告

Unable to instantiate prefab. Prefab may be broken.

然后就一直找論壇解決問題..然后 https://answers.unity.com/questions/1562622/unable-to-instantiate-prefab-prefab-may-be-broken-1.html

有為大佬給出解決辦法:

 the simplest solution for that is (Right click on the prefab and then hit Reimport)

意思就是..右鍵你所選中的預制體,重新導入一下.. 右鍵 -> Reimport

這個時候就好了...

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM