Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.4f1
2021.1
2021.2
Issue ID
1340595
Regression
No
All descendants on the Prefab Variant get destroyed after adding the 'Rect Transform' component to the Prefab root
How to reproduce:
1. Open the attached '1340595.zip' project
2. Open the 'Test Variant' in the Prefab mode
3. Observe the Hierarchy
4. Open the 'Test' Prefab
5. In the Inspector add the 'Rect Transform' component
6. Save the Prefab
7. Open the 'Test Variant' Asset
8. Observe the Hierarchy
Expected result: The 'Test Variant' has a child object
Actual result: The 'Test Variant' doesn't have a child object
Reproducible with: 2018.4.36f1, 2019.4.28f1, 2020.3.12f1, 2021.1.11f1, 2021.2.0a21
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
- The Scene\Game view is grey when two "Universal Additional Camera Data" scripts are attached to the camera
- NullReferenceException error thrown when changing Scenes in Play Mode
- Crash on "'anonymous namespace'::ConvertFBXShapes" when importing an FBX file
- Crash on Transform::RemoveFromParent when Object.DestroyImmediate() is called on Transform
- [Linux] Player consumes more CPU resources when it is running in the background
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a4