Search Issue Tracker
Fixed
Fixed in 6000.0.42f1, 6000.1.0b10, 6000.2.0a1
Votes
0
Found in
2021.3.40f1
2022.3.39f1
6000.0.13f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-76948
Regression
No
Undoing Inspector value change in UI Builder with option still selected leads to unexpected undo order
Steps to reproduce:
- Open a Unity project
- Open the UI Builder via Window > UI Toolkit > UI Builder
- Create a Visual Element by dragging it from the Library to the Hierarchy
- Make sure the Visual Element is selected and that it's details are visible in the Inspector
- Find and expand the Width options under Inlined Styles > Border > Width
- Change Top from 0 to 2 and press enter
- Change Right from 0 to 2 and press enter
- Change Bottom from 0 to 2 and don't press enter
- Press Ctrl + Z to undo then observe results
- Press Ctrl + Z to undo then observe results
Actual results: On the first undo, the Right Width option is undone instead of the most recent changes to the Bottom Width option.
On the second undo, both the Bottom and Top Width options are undone at the same time.
Expected results: The options are undone in the order they are edited (Bottom -> Right -> Top)
Reproducible with versions:
- 6000.0.13f1
- 2022.3.39f1 (check notes)
- 2021.3.40f1 (check notes)
Not reproducible with versions: -
Can’t test with versions: -
Tested on (OS): Windows 10. Windows 11
Notes:
- While the bug is reproduceable on 2022.3. and 2021.3, it is slightly different. On the first undo, it will undo the Bottom Width option (as expected) but also the Right Width option at the same time (unexpected)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Add comment