Open nantas opened 11 years ago
NullReferenceException: Object reference not set to an instance of an object exSprite.UpdateBufferSize () (at Assets/ex2D/Runtime/Components/exSprite.cs:320) exSprite.GetVertices (Space _space) (at Assets/ex2D/Runtime/Components/exSprite.cs:266) exLayeredSprite.GetWorldVertices () (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:243) exSpriteBaseInspector.DrawBoundingRect (.exSpriteBase _node, Boolean ignoreZ) (at Assets/ex2D/Editor/Inspector/exSpriteBaseInspector.cs:191) exSceneEditor.DrawScene (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:764) exSceneEditor.SceneViewField (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:554) exSceneEditor.Layout_SceneViewField (Int32 _width, Int32 _height) (at Assets/ex2D/Editor/exSceneEditor.cs:537) exSceneEditor.OnGUI () (at Assets/ex2D/Editor/exSceneEditor.cs:186) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Matrix stack full depth reached UnityEngine.GL:PushMatrix() exSceneEditor:DrawScene(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:710) exSceneEditor:SceneViewField(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:554) exSceneEditor:Layout_SceneViewField(Int32, Int32) (at Assets/ex2D/Editor/exSceneEditor.cs:537) exSceneEditor:OnGUI() (at Assets/ex2D/Editor/exSceneEditor.cs:186) UnityEditor.DockArea:OnGUI()
相关问题 #26
使用最新dev版无法重现,但是scene editor里面会画出一个空boundingbox,建议@jwu不对project中选中的sprite进行渲染。
NullReferenceException: Object reference not set to an instance of an object exSprite.UpdateBufferSize () (at Assets/ex2D/Runtime/Components/exSprite.cs:320) exSprite.GetVertices (Space _space) (at Assets/ex2D/Runtime/Components/exSprite.cs:266) exLayeredSprite.GetWorldVertices () (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:243) exSpriteBaseInspector.DrawBoundingRect (.exSpriteBase _node, Boolean ignoreZ) (at Assets/ex2D/Editor/Inspector/exSpriteBaseInspector.cs:191) exSceneEditor.DrawScene (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:764) exSceneEditor.SceneViewField (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:554) exSceneEditor.Layout_SceneViewField (Int32 _width, Int32 _height) (at Assets/ex2D/Editor/exSceneEditor.cs:537) exSceneEditor.OnGUI () (at Assets/ex2D/Editor/exSceneEditor.cs:186) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Matrix stack full depth reached UnityEngine.GL:PushMatrix() exSceneEditor:DrawScene(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:710) exSceneEditor:SceneViewField(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:554) exSceneEditor:Layout_SceneViewField(Int32, Int32) (at Assets/ex2D/Editor/exSceneEditor.cs:537) exSceneEditor:OnGUI() (at Assets/ex2D/Editor/exSceneEditor.cs:186) UnityEditor.DockArea:OnGUI()