Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.2.0a10
2020.3.17f1
2021.1
2021.2
Issue ID
1361986
Regression
Yes
Nested prefabs lose changes made to their object after saving when parent is unpacked and nested prefab is modified then undone
How to reproduce:
1. Create a new empty 3D Project
2. Add a Cube to the Scene and Save
3. Add a Sphere to the Scene and Save
4. Make the "Sphere" object a Prefab and Save
5. Add any Component to the "Sphere "object in the Hierarchy and Save
6. Drag the "Sphere" object in the Hierarchy and make it a child of the "Cube" object and Save
7. Make the "Cube" object a Prefab
8. Unpack the "Cube" object in the Hierarchy (Not Completely)
9. Modify the "Sphere" object in the Scene in any way
10. Press Undo
11. Select the "Sphere" object in the Hierarchy
Expected result: Only Step#9 was undone
Actual result: The Component added in Step#5 was undone
Reproducible with: 2020.2.0a10, 2020.3.18f1, 2021.1.0a1, 2021.1.19f1, 2021.2.0a1, 2021.2.0a10
Not reproducible: 2019.4.31f1, 2020.1.0a25, 2020.2.0a9, 2020.3.19f1, 2020.3.21f1, 2021.1.20f1, 2021.1.26f1, 2021.2.0a11, 2022.1.0a12
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2021.2):
Fixed in: 2020.3.19f1, 2021.1.20f1, 2021.2.0a11