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.)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.