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
- ReflectionProbe is incorrectly culled based on Camera position and orientation when using Forward+ Rendering Path
- [Android][iOS] The keyboard closes and re-opens when consecutive input fields are selected
- Complex Sub Graph connected to a Voronoi node is ignored when the shader gets applied as a Material
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
Add comment