您当前的位置: 首页 >  unity

幻世界

暂无认证

  • 0浏览

    0关注

    237博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Unity版本 :Unable to instantiate prefab. Prefab may be broken.

幻世界 发布时间:2019-04-28 20:06:27 ,浏览量:0

网上查到的 记录一下

unity2018项目,用2017版本打开就会出现预制体无法拖入视图并且报错:

Unable to instantiate prefab. Prefab may be broken. UnityEditorInternal.InternalEditorUtility:HierarchyWindowDrag(HierarchyProperty, Boolean, HierarchyDropMode) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

解决方案:用记事本打开对应的预制体并做出以下修改:

1.将“m_SourcePrefab”改为“m_ParentPrefab”

2.将“m_IsPrefabAsset”改为“m_IsPrefabParent”

关注
打赏
1660704426
查看更多评论
立即登录/注册

微信扫码登录

0.0361s