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
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
Add comment