How to reproduce:
1. Open the “CC.zip“ project
2. Open the “Assets/Scenes/TestingScene.unity” Scene
3, Click the arrow to the right of the “Cat“ GameObject in the Hierarchy to enter Prefab mode
4. Click on any child GameObject in the Hierarchy and modify any Transform property in the Inspector
5. Undo the last action
6. Observe the Scene view
Expected result: The “Cat“ GameObject returns to its previous position
Actual result: The “Cat“ GameObject teleports to another location in the Scene
Reproducible with: 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2
Reproduced on: Windows 10, Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- Reproducible only in Prefab Mode
- Prefab returns to its location when the Prefab Mode is exited
- Not reproducible with other GameObject Prefabs, but is reproducible with other Skinned Objects
- When the Transform change is undone, the “Prefab Mode In Context“ GameObject gets removed, and this likely is the reason why the Prefab Root GameObject changes position