Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
0
Found in
2018.4
2019.4
2020.2
2020.2.1f1
Issue ID
1309142
Regression
Yes
"Can't destroy Transform component" Error is thrown when closing a scene that contains a DontSave Prefab with a Child
Reproduction steps:
1. Download and open the attached project 'DontSaveError.zip'
2. Open Scene 'SampleScene'
3. Open Scene 'EmptyScene'
4. Observe Console window
Expected result: No Error is thrown
Actual result: Error "Can't destroy Transform component of 'Sphere'. If you want to destroy the game object, please call 'Destroy' on the game object instead. Destroying the transform component is not allowed." is thrown
Reproducible with: 2018.4.30f1, 2019.4.19f1, 2020.2.3f1, 2021.1.0a6
Not reproducible with: 2021.1.0a7, 2021.1.0b4, 2021.2.0a3
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
- 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
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a7
Resolution Note (fix version 2020.3):
Fixed in 2020.3.3f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.24f1