Fix "Missing Scripts"

一、Missing Scripts(脚本引用丢失)

请看下面的两张图的Warn(脚本引用丢失),在某些情况下我们会遇到这个警告。

Fix "Missing Scripts"Fix "Missing Scripts"

二、解决办法

参考资料

http://unitygems.com/lateral1/

http://daikonforge.com/forums/resources/fix-missing-scripts.3/

unitypackage插件

FixMissingScripts.unitypackage: http://whydoidoit.net/Downloads/FixMissingScripts.unitypackage

DaikonForge.MissingScriptResolver.unitypackage: http://daikonforge.com/forums/resources/fix-missing-scripts.3/download?version=29

三、使用方法

导入这两个 unitypackage后,在window菜单下,可以看到多了四个工具条

Fix "Missing Scripts"

3.1 DaikonForge.MissingScriptResolver.unitypackage

点击Find Missing Scripts In Scene->在Console打印出丢失脚本的gameobject

Fix "Missing Scripts"

Find Miss Scripts In Prefabs->查找Prefab脚本丢失

3.2 FixMissingScripts.unitypackage

点击 Find And Fix Missing Scripts->弹出下面工具窗口

Fix "Missing Scripts"

在运行时会帮你解决,选择你需要解决的办法或选择脚本

Fix "Missing Scripts"

Find Item->弹出下面窗口

Fix "Missing Scripts"

上一篇:Git 基础


下一篇:MBR (主引导记录)