Search Issue Tracker
Fixed in 3.0.4
Votes
0
Found in [Package]
3.0.2
Issue ID
1170177
Regression
No
[2D] [Animation] Error appears in console when trying to set SpriteLibrary Category List size to negative value
[2D] [Animation] Error appears in console when trying to set SpriteLibrary Category List size to negative value
Steps to Repro:
1. Create a Sprite Library Asset
2. Create a new Category
3. Click over the Size field and move the mouse to the left (to try to set the Size value to less than 0)
Result: An Error appears in the console.
Expected: The user should be unable to set the value to a negative
---
Array size must be non-negative.
UnityEditor.Experimental.U2D.Animation.SpriteLibraryAssetInspector:DrawElement(Rect, Int32, Boolean, Boolean)
UnityEditorInternal.ReorderableList:DoListElements(Rect)
UnityEditorInternal.ReorderableList:DoLayoutList()
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