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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment