Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0b17
2022.1.0a13
Issue ID
1374538
Regression
Yes
GameObjects, Parameters, and Windows doesn't update correctly on the last steps when doing Undo and Redo
To reproduce:
1. Download the attached project "New Unity Project(52).zip" and open it in Unity
2. Open the "SampleScene" scene
3. Create a "Cube" gameObject
4. Select a "Cube" gameObject and in the Inspector window change its Position, Rotation, and Scale
5. Hold Command + Z to Undo your Changes
6. Observe that on the last step of Undo, when a "Cube" gameObject disappears from the Hierarchy window, a "Cube" gameObject is still visible in the Scene view and the Inspector window still shows a "Cube" gameObject
7. Release Command + Z
8. Observe that "Cube" gameObject disappears from the Hierarchy window but the Inspector window of it is still shown
9. Move a mouse cursor
10. Observe that the Inspector window of "Cube" gameObject disappears
11. Hold Command + Shift + Z to Redo your changes
12. Observe that "Cube" gameObject reappears and Inspector widow of it opens up, but it's missing the final changes before Undo
13. Release Command + Shift + Z
14. Observe that the last step before Undo was applied and "Cube" gameObject was fully restored
Notes:
- For some reason, Undo and Redo doesn't apply the last steps before releasing commands and/or moving a mouse
Reproducible on Unity 2021.2.0b17 and 2022.1.0a13
Not reproducible on Unity 2021.1.27f1, 2021.2.0b16 and 2022.1.0a12
Regression on Unity 2021.2.0b17 and 2022.1.0a13
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visual Effects Graph Blackboard can't be scrolled horizontally
- .Net Standard 2.0 dlls causing errors in .net Standard 2.1, despite the automation of compact shims
- Dropdown context menu opens in the wrong place when another section is focused in VFX Graph
- Crash on SendShadowCullingCallbacks when using ScriptableRenderContext.Cull()
- Visual Effect Graph window has corrupted "lock" icon
Resolution Note (fix version 2022.1):
Recent Mac Metal editor change delayed frame updates by 1, affecting undo/redo update time - this is now fixed.
Resolution Note (fix version 2021.2):
Recent Mac Metal editor change delayed frame updates by 1, affecting undo/redo update time - this is now fixed.