1.
报错:
NullReferenceException: Object reference not set to an instance of an object
症状:会有各种Bug,程序没有按照预期进行。
解决办法:根据报错提示找到有关脚本,看看是否没有给它赋值(比如没有在Start()事件里给它赋值)。
2.
报错:
Invalid editor window UnityEditor.FallbackEditorWindow
UnityEditor.EditorApplicationLayout:SetPlaymodeLayout()
症状:没有影响,但就是会报错。
解决:恢复Layout的出厂设置
3.
报错:
Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported since Unity 5.
If you want to use a non-convex mesh either make the Rigidbody kinematic or remove the Rigidbody component. Scene hierarchy path "XXXXXX", Mesh asset path "XXXXX.fbx" Mesh name "XXXX"
症状:物体无碰撞,直接掉入虚空。
解决办法:将碰撞器凸面勾选。
未完待续…