本文主要是介绍The referenced script (Unknown) on this Behaviour is missing!,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
The referenced script (Unknown) on this Behaviour is missing!
查找原因
(1)
加载 AssetBundle 的时候报错,然后在 AssetBundle 中包含的资源查找资源中引用的 guid,例如
查找文件 Timeline_TestA.playable
一个区域开始是
然后是类型名字
然后是详细信息
根据类型 id
查找
https://docs.unity3d.com/Manual/ClassIDReference.html
Classes defined from scripts
will always have class ID 114 (MonoBehaviour).
参考
http://www.xuanyusong.com/archives/3727
(2)
脚本类型都是 114
will always have class ID 114 (MonoBehaviour).
(3)
根据名字,在编辑器中查找
例如 m_Name: Recorded ,编辑器中显示的就是 Recorded
编辑器中显示
再例如
编辑器中显示
这篇关于The referenced script (Unknown) on this Behaviour is missing!的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!