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)

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

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.