Search Issue Tracker
Won't Fix
Won't Fix in 2022.2.X
Votes
0
Found in
2022.2.0a1
Issue ID
UUM-406
Regression
No
Timeline audio keeps playing when editor is out of focus
Steps to reproduce:
1. Open the attached project (case_1217337.zip)
2. Under Edit > Project Settings > Player > Resolution and Presentation, ensure that "Run In Background" is unchecked
3. Select "Test" GameObject
4. Open the Timeline Window by going to Window > Sequencing > Timeline
5. Click Play in the Timeline Window itself
6. Unfocus the Editor (By tabbing out, focusing some other application etc.)
Expected result: Audio is paused and is in sync with the rest of the Timeline Tracks when resumed
Actual result: Audio is not paused and continues playing, staying ahead of the rest of the Timeline Tracks
Reproduced in: 2017.4.36f1, Timeline 1.1.0 (2018.4.17f1, 2019.2.21f1), Timeline 1.2.10 (2019.3.1f1), Timeline preview.7 - 1.3.0 (2020.1.0a22)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
This was partially fixed in 2021.1. The full fix — or at least alignment on how audio and the rest of Timeline playables behave — would require a deeper change to how Timeline works. The issue here being that in the editor, general Timeline execution always pauses regardless of what whether the player setting "Run in background" is true or false because it is tied to the update loop, whereas audio adhere to the setting because it runs on it's own thread and is not bound to the update loop.
Resolution Note (2022.2.X):
This was partially fixed in 2021.1. The full fix — or at least alignment on how audio and the rest of Timeline playables behave — would require a deeper change to how Timeline works. The issue here being that in the editor, general Timeline execution always pauses regardless of what whether the player setting "Run in background" is true or false because it is tied to the update loop, whereas audio adhere to the setting because it runs on it's own thread and is not bound to the update loop.