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
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
- Graphics.DrawProceduralIndirect and Graphics.DrawProceduralNow silently dropped on DX12
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.