exdev / ex2d-dev

2D framework and pipeline for Unity3D
ex-dev.com/ex2d
GNU General Public License v3.0
6 stars 3 forks source link

在父物体是Clipping的情况下复制子spriteFont物体,报错 #41

Closed nantas closed 11 years ago

nantas commented 11 years ago

NullReferenceException: Object reference not set to an instance of an object exLayeredSprite.SetClip (.exClipping _clip) (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:264) exSpriteBase.LateUpdate () (at Assets/ex2D/Runtime/Components/Internal/exSpriteBase.cs:252) exLayeredSprite.LateUpdate () (at Assets/ex2D/Runtime/Components/Internal/exLayeredSprite.cs:162)

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:423) 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()

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:435) 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)

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()