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
- [Android] Safe area ignores navigation bar on Android when targeting level 35 API or higher
- File watcher does not trigger after the AcquireFloatingLease and before the Entitlement check
- HDR Output gets disabled in the Editor when Reflection Probe is enabled during runtime
- The "Build and Run" Menu option tries to build for the selected Build Platform instead of the Active Build Platform
- Font kerning breaks at runtime when multiple UI Documents use different fonts
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.