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
- [Android][IL2CPP][ARMv7] Struct field value corrupts when invoking a generic delegate with a large struct by value
- Highlights persist throughout Options Panels in the Rendering Debugger Window
- Typing numbers in Matrix node’s numeric fields stretches Node
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
- "IndexOutOfRangeException" thrown when moving caret left at start of TMP Input Field with rich text
Add comment