Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.4
2019.3.3f1
2020.2
Issue ID
1245240
Regression
No
Error occurs when discarding changes of Scene that has GameObject with "DontSave" flags and its Child without HideFlags
How to reproduce:
1. Open the project "case_1245240-DiscardChanges"
2. Open the Scene "SampleScene"
3. Select the GameObject "Test"
4. Set value of "Create Object" to True in the "Test (Script)" component in the Inspector
5. Select "Discard Changes" in the menu in the Hierarchy
6. Observe the Console window
Expected results: no errors occur
Actual results: the error "Can't destroy Transform component of 'Child'. If you want to destroy the game object, please call 'Destroy' on the game object instead. Destroying the transform component is not allowed" occurs
Reproducible with: 2018.4.23f1, 2019.3.15f1, 2020.1.0b10, 2020.2.0a14
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
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Resolution Note:
No longer reproducible in 2021.1.0a7 and above