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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a4