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
- “Client And Server” shown without spaces in Active Scenario window
- [Linux] Mouse cursor gets stuck at the edge of the screen when trying to pan in the Scene view
- Docked Multiplayer Play Mode window disappears when switching back to a saved Editor layout
- Audio files fail to be imported when the file path is 260 characters or longer
- Error SGICE002 is wrongly shown when more than one argument is passed into GetComponentRW()
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.