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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment