Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.56f1
6000.2.2f1
6000.3.0a6
6000.4.0a1
6000.5.0a1
Issue ID
UUM-115323
Regression
No
Objects with HideFlags.DontSaveInEditor persist after unloading scenes when certain criteria are met
How to reproduce:
1. Open the “BuildTest.zip“ project
2. Enter Play Mode (or Build and run with Development Mode and Autoconnect Profiler)
3. Press T to load another scene asynchronously with LoadSceneMode.Single (and then press Y to unload unused assets)
4. Observe the Console
Expected result: Nothing is logged (every object is destroyed and not saved)
Actual result: “Alive gameObject: no_parent_flag_set_editor“ and “Alive gameObject: no_parent_flag_set_editor_build“ info logs are being logged
Reproducible in: 2023.1.0a1, 6000.0.56f1, 6000.2.2f1, 6000.3.0a6
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- Only reproducible under these circumstances:
1. The object does not have a parent
2. The object has a HideFlags.DontSaveInEditor flag
3. Scene is loaded with LoadSceneMode.Single
- Either the documentation is incorrect, or the flags don’t work correctly
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment