Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X
Votes
0
Found in
2021.3.46f1
2022.3.52f1
6000.0.27f1
6000.1.0a4
Issue ID
UUM-87097
Regression
No
GameObjects with "hideFlags.DontSaveInEditor" paired with the "DontDestroyOnLoad" method are not relieved up when the Play Mode is exited
How to reproduce:
1. Open the “HideFlagsBug.zip“ project
2. Open the “New Scene“
3. Enter Play Mode
4. Observe the Console
5. Exit Play Mode
6. Do steps 3 and 5 at least once more
7. Observe the Console
Expected result: Nothing is logged
Actual result: “There are <number of> audio listeners active in the scene“ is logged
Reproducible in: 2021.3.46f1, 2022.3.52f1, 6000.0.27f1, 6000.1.0a4
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- The audio listener count increases by one every time Play Mode is entered
- Visually, there is only one Audio Listener in the Scene
- Memory usage also slightly increases each time Play Mode is entered
- There is only one Audio Listener Component enabled in the Scene at any time
- Reproduces when the “HideFlags“ option is “DontSaveInEditor“ or any other option that includes it (i.e. “DontSave“, etc.)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Add comment