You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The importer throws an index out of bounds error at line 234 in AsepriteImporter.cs
To Reproduce
Steps to reproduce the behavior:
Import an aseprite file with multiple layers using the individual layer mode.
Switch to merged layer mode.
Congrats, an error.
This error repeats indefinitely. Even if you delete the meta file. Somehow. :D
Expected behavior
To output a merged sprite without errors.
Screenshots
Desktop:
OS: Windows 10
Version: 6000.0.27f1
Additional context
Likely caused by the layer update system.
In debugging, it was indexing "spriteRects" and the other 2 arrays at 234 with invalid indices.
That index stems from the "cells" array having, in my case, a length of 4.
"spriteRects" and the other 2 have a length of 1.
The culprit is most likely the serialized value of "m_AsepriteLayers" from what I can tell.
The text was updated successfully, but these errors were encountered:
Describe the bug
The importer throws an index out of bounds error at line 234 in AsepriteImporter.cs
To Reproduce
Steps to reproduce the behavior:
This error repeats indefinitely. Even if you delete the meta file. Somehow. :D
Expected behavior
To output a merged sprite without errors.
Screenshots
![image](https://private-user-images.githubusercontent.com/88713943/394627786-0350cf20-3602-4c30-be08-15f810d90477.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NTQyMTksIm5iZiI6MTczOTQ1MzkxOSwicGF0aCI6Ii84ODcxMzk0My8zOTQ2Mjc3ODYtMDM1MGNmMjAtMzYwMi00YzMwLWJlMDgtMTVmODEwZDkwNDc3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDEzMzgzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxZTI1ZWFiZjE0MzgwZjQ5ZWRmNjdjODNjNmFhMjlmNGVjZmMwMzkxOWI2OWE0NjJiNWE4ODc3MTM5ZTRkYTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HdPJVzez1rId5UTPm9yeSiqfnHL6G059yrZpGJ9cfos)
Desktop:
Additional context
Likely caused by the layer update system.
In debugging, it was indexing "spriteRects" and the other 2 arrays at 234 with invalid indices.
That index stems from the "cells" array having, in my case, a length of 4.
"spriteRects" and the other 2 have a length of 1.
The culprit is most likely the serialized value of "m_AsepriteLayers" from what I can tell.
The text was updated successfully, but these errors were encountered: