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
7000.0.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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment