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

Scene Management

-

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

  1. 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.

  2. 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.

Add comment

Log in to post comment