Closed jwu closed 11 years ago
重现方法:
得 sheeptap 2 最新版本, 打开 UniteDemo2 场景, 打开 2D Scene Editor。 找到 Project 中的 Assets/Game/Prefab/prototype/hitScore 这个 prefab。点击他,会报以下错误:
错误1:
Assert Failed! UnityEngine.Debug:LogError(Object, Object) exDebug:Assert(Boolean, String, Boolean, Object) (at Assets/ex2D/Runtime/Utilities/exUtility.cs:70) exSpriteFont:GetVertices(Space) (at Assets/ex2D/Runtime/Components/exSpriteFont.cs:439) exLayeredSprite:GetWorldVertices() (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:243) exEditorUtility:GL_DrawWireFrame(exPlane, Color, Boolean) (at Assets/ex2D/Editor/Utilities/exEditorUtility.cs:688) exSceneEditor:DrawScene(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:822) exSceneEditor:SceneViewField(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:592) exSceneEditor:Layout_SceneViewField(Int32, Int32) (at Assets/ex2D/Editor/exSceneEditor.cs:575) exSceneEditor:OnGUI() (at Assets/ex2D/Editor/exSceneEditor.cs:186) UnityEditor.DockArea:OnGUI()
错误2:
OverflowException: Number overflow. exList`1[UnityEngine.Vector3].ToArray () (at Assets/ex2D/Runtime/Utilities/exList.cs:117) exSpriteFont.GetVertices (Space _space) (at Assets/ex2D/Runtime/Components/exSpriteFont.cs:451) exLayeredSprite.GetWorldVertices () (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:243) exEditorUtility.GL_DrawWireFrame (.exPlane _node, Color _color, Boolean ignoreZ) (at Assets/ex2D/Editor/Utilities/exEditorUtility.cs:688) exSceneEditor.DrawScene (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:822) exSceneEditor.SceneViewField (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:592) exSceneEditor.Layout_SceneViewField (Int32 _width, Int32 _height) (at Assets/ex2D/Editor/exSceneEditor.cs:575) 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/c514da0c8183631c/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
错误3:
Matrix stack full depth reached UnityEngine.GL:PushMatrix() exSceneEditor:DrawScene(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:767) exSceneEditor:SceneViewField(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:592) exSceneEditor:Layout_SceneViewField(Int32, Int32) (at Assets/ex2D/Editor/exSceneEditor.cs:575) exSceneEditor:OnGUI() (at Assets/ex2D/Editor/exSceneEditor.cs:186) UnityEditor.DockArea:OnGUI()
重现方法:
得 sheeptap 2 最新版本, 打开 UniteDemo2 场景, 打开 2D Scene Editor。 找到 Project 中的 Assets/Game/Prefab/prototype/hitScore 这个 prefab。点击他,会报以下错误:
错误1:
Assert Failed! UnityEngine.Debug:LogError(Object, Object) exDebug:Assert(Boolean, String, Boolean, Object) (at Assets/ex2D/Runtime/Utilities/exUtility.cs:70) exSpriteFont:GetVertices(Space) (at Assets/ex2D/Runtime/Components/exSpriteFont.cs:439) exLayeredSprite:GetWorldVertices() (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:243) exEditorUtility:GL_DrawWireFrame(exPlane, Color, Boolean) (at Assets/ex2D/Editor/Utilities/exEditorUtility.cs:688) exSceneEditor:DrawScene(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:822) exSceneEditor:SceneViewField(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:592) exSceneEditor:Layout_SceneViewField(Int32, Int32) (at Assets/ex2D/Editor/exSceneEditor.cs:575) exSceneEditor:OnGUI() (at Assets/ex2D/Editor/exSceneEditor.cs:186) UnityEditor.DockArea:OnGUI()
错误2:
OverflowException: Number overflow. exList`1[UnityEngine.Vector3].ToArray () (at Assets/ex2D/Runtime/Utilities/exList.cs:117) exSpriteFont.GetVertices (Space _space) (at Assets/ex2D/Runtime/Components/exSpriteFont.cs:451) exLayeredSprite.GetWorldVertices () (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:243) exEditorUtility.GL_DrawWireFrame (.exPlane _node, Color _color, Boolean ignoreZ) (at Assets/ex2D/Editor/Utilities/exEditorUtility.cs:688) exSceneEditor.DrawScene (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:822) exSceneEditor.SceneViewField (Rect _rect) (at Assets/ex2D/Editor/exSceneEditor.cs:592) exSceneEditor.Layout_SceneViewField (Int32 _width, Int32 _height) (at Assets/ex2D/Editor/exSceneEditor.cs:575) 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/c514da0c8183631c/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
错误3:
Matrix stack full depth reached UnityEngine.GL:PushMatrix() exSceneEditor:DrawScene(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:767) exSceneEditor:SceneViewField(Rect) (at Assets/ex2D/Editor/exSceneEditor.cs:592) exSceneEditor:Layout_SceneViewField(Int32, Int32) (at Assets/ex2D/Editor/exSceneEditor.cs:575) exSceneEditor:OnGUI() (at Assets/ex2D/Editor/exSceneEditor.cs:186) UnityEditor.DockArea:OnGUI()