Search Issue Tracker

Fixed in 4.3.X

Votes

0

Found in

4.3.0b5

Issue ID

568977

Regression

No

Sprite Packer window breaks completely when calling AddAtlas on new SpritePacker policy

2D

-

- Open the test scene in the attached project
- Open the SpritePacker window and select the custom made packer policy
- Press the Repack button

Result:"IndexOutOfRangeException: Array index is out of range.
UnityEditor.Sprites.PackerWindow.RefreshState () (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/Sprites/SpritePackerWindow.cs:253)
UnityEditor.Sprites.PackerWindow.OnGUI () (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/Sprites/SpritePackerWindow.cs:267)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)"

and Sprite Packer window becomes completely unusable

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.