Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 2017.1.X, 2017.2.X
Votes
0
Found in
2017.3.0a3
Issue ID
937126
Regression
Yes
IndexOutOfRangeException when adjusting sprite's compression quality
IndexOutOfRangeException when adjusting sprite's compression quality
1. In Assets, right click > Create > Sprites > Square (choice of shape is irrelevant)
2. Click on the created sprite
3. In Inspector, scroll down to Compression, and change it, even to the same value as before, then APPLY
4. Move the mouse cursor out of Inspector, into Assets
Expected: No error
Observed: IndexOutOfRangeException: Array index is out of range.
Occurring on: 2017.3.0a1 - a3 (current latest trunk)
Not occurring: 2017.2.0b5 and older
IndexOutOfRangeException: Array index is out of range.
UnityEditor.TextureInspector.RenderStaticPreview (System.String assetPath, UnityEngine.Object[] subAssets, Int32 width, Int32 height) (at C:/Work/Trunk/Unity/Editor/Mono/Inspector/TextureInspector.cs:575)
UnityEditor.AssetPreviewUpdater.CreatePreviewForAsset (UnityEngine.Object obj, UnityEngine.Object[] subAssets, System.String assetPath) (at C:/Work/Trunk/Unity/Editor/Mono/AssetPreviewUpdater.cs:33)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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