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