Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2018.4.X, 2019.4.X, 2020.3.X
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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
Add comment