1
Support / unable to commit sprite collection because of error
« on: August 29, 2013, 10:54:47 pm »
I have a sprite collection in which I was replacing an image. When I initially replaced the image I accidentally replaced with one that was much too large and immediately got an error telling me that the collection couldn't be committed because it exceeded the atlas size. I swapped it out with a new image but am now getting this error any time I try to commit:
IndexOutOfRangeException: Array index is out of range.
tk2dSpriteCollectionBuilder.Rebuild (.tk2dSpriteCollection gen) (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/tk2dSpriteCollectionBuilder.cs:938)
tk2dSpriteCollectionEditorPopup.Commit () (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:447)
tk2dSpriteCollectionEditorPopup.DrawToolbar () (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:437)
tk2dSpriteCollectionEditorPopup.OnGUI () (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:836)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/84669f285f6a667f/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Any help would be greatly appreciated.
IndexOutOfRangeException: Array index is out of range.
tk2dSpriteCollectionBuilder.Rebuild (.tk2dSpriteCollection gen) (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/tk2dSpriteCollectionBuilder.cs:938)
tk2dSpriteCollectionEditorPopup.Commit () (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:447)
tk2dSpriteCollectionEditorPopup.DrawToolbar () (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:437)
tk2dSpriteCollectionEditorPopup.OnGUI () (at Assets/ThirdParty/TK2D/Editor/tk2d/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:836)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/84669f285f6a667f/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Any help would be greatly appreciated.