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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2021.2):
Fixed in: 2020.3.19f1, 2021.1.20f1, 2021.2.0a11