Search Issue Tracker
Won't Fix
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
- Text render issues and various exceptions in TextCore when using TextSettings option "Match Material Presets"
- NullReferenceException error is thrown when unpacking multiple instances of the same UI Document
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
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.