Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2018.2.0b7
2018.2.11f1
2018.3.0a1
2019.1.0a1
Issue ID
1104094
Regression
Yes
IndexOutOfRangeException error is thrown when trimming a sprite that has a greater resolution than It's Import Settings
How to reproduce:
1. Open the attached project ("Repro project")
2. In the Project WIndow select the "case_1104094-Warden_Small" texture and change Its "Max Size" to 1024
3. Open the Sprite Editor and draw two big rectangles onto the sprites
4. Click "Trim" and try to save the changes
5. Observe the Console Window
Expected result: The changes are saved correctly without any errors
Actual result: IndexOutOfRangeException error is thrown
Reproduced in: 2019.1.0a11, 2018.3.0f1, 2018.2.19f1, 2018.2.0b7,
Not reproducible in: 2018.2.0b6, 2018.1.9f2, 2017.4.17f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment