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
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
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.