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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment