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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment