Search Issue Tracker

Fixed in 2021.1

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2019.1.0a1

2019.2.0a1

2019.2.0b3

2019.3.0a1

Issue ID

1157422

Regression

No

GameObjects with HideFlags.DontSave raise an Error when reloading the Scene

Scene Management

-

How to reproduce:
1. Open the "SampleScene" in the attached "HideAndDontSave.zip" Project
2. Click on the "Spawner" GameObject
3. Right-click the "Spawner" Component in the Inspector
4. Choose "Spawn" from the Context menu and note the new "Canvas(clone)" GameObject in the Hierarchy
5. Save and reload the Scene by double-clicking on it in the Project View

Expected Behaviour: The "Canvas(clone)" GameObject is destroyed without errors
Actual Behavior: The "Canvas(clone)" GameObject is destroyed and the error is present

Reproducible with: 2017.4.27f1, 2018.4.1f1, 2019.1.4f1, 2019.2.0b4, 2019.3.0a4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.