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
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
Add comment