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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a4