Search Issue Tracker
Duplicate
Votes
0
Found in
6000.1.0b12
6000.2.0a7
Issue ID
UUM-100939
Regression
No
Changing Aseprite import mode from Tile Set to Animated Sprite throws Index out of bounds Error
Steps to reproduce:
- Create a new 2D URP template project
- Import the attached .aseprite asset
- Select the Asset in the Project Browser window
- In the Inspector window change the import mode to Tile Set
- Press Apply to save the changes
- Change the import mode back to Animated Sprite and Apply the changes
Actual results: File import fails and an 'Index was outside the bounds of the array' error is thrown
Expected results: File import succeeds without errors or warnings
Reproducible with versions: 6000.1.0b12, 6000.2.0a7
Can’t test with versions: 2022.3.60f1, 6000.0.44f1 (Tile set option is not available)
Tested on (OS): macOS 15.3.2, Ubuntu 24
Notes:
- After the issue occurs the asset breaks inside the Editor. Re-import or importer reset is needed to fix this
Full error message:
{quote}Failed to import file Assets/Sprite-0001.aseprite. Error: Index was outside the bounds of the array.
at UnityEditor.U2D.Aseprite.AsepriteImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) [0x001b7] in ./Library/PackageCache/com.unity.2d.aseprite@2f6210f13ac2/Editor/AsepriteImporter.cs:240
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
{quote}
-
Resolution Note:
Duplicate of DANB-875
Duplicate of another internal issue: DANB-875: Aseprite file become unusable when changing it's Layer Import Mode from Merge Frame to Individual Layers and back
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] [Android] External library generics fail during IL2CPP build
- Animator State’s Multiplier field shows a Parameter that no longer exists when the Parameter was assigned and then deleted
- Shadows disappear and come back after couple frames when using OnDemand Shadows and OnDemand Reflection
- “Delete Selected Items” is still active in the menu when Label is not selected in New Sprite Library Asset window
- "View Generated Shader" button in Shader Graph Asset is not aligned with other buttons
This is a duplicate of issue #UCW-212990-877