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
- Non-multisampled texture binding errors are logged when running the DepthBlit URP scene with MSAA enabled on Vulkan
- The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
- NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
- Nested LocalizedStrings can not query local variables
Add comment