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
- Error is thrown when removing an element from a list in a ScriptableObject in the Inspector window
- GameObjects don't interact with other GameObjects when the Cloth component is applied
- CreateAsset does not persist keywords set to a material
- [2D][macOS] Rendering artifacts when dragging .PNG or .JPEG image files to the Scene view
- [Linux][URP] Sprites are flickering in scene when added into 2D URP project
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a4