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
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
- Shader error and warnings thrown when setting HDRP as an Active Target in Blank Shader Graph
Add comment