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
- [Rendering Debugger] Shortcut in documentation to open window doesn't work
- The "Compress Tilemap Borders" function is not working when used via the Context Menu or through Script
- HDRP Sorting Priority not working when Render Pass is locked on a parent material
- [XR] Camera view rendered by the RenderTexture is not updated at runtime when XR is enabled
- Lens Flare occlusion is slightly delayed when Anti-aliasing is set to TAA
Add comment