Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

0

Found in

2019.1.0a10

2019.2.0a1

2019.2.0a14

2019.3.0a1

Issue ID

1151637

Regression

Yes

Scheduled AudioSource stops playing after resuming from a pause when its .SetScheduledEndTime is set to some value

Audio

-

How to reproduce:
1. Open the attached project ("ScheduleError.zip")
2. Open the repro scene ("SampleScene")
3. Enter the Play Mode
4. Press Q and wait until a log "Now press A and S" is seen in the console
5. Press A to stop the AudioSource and wait for a few seconds
6. Press S to un-pause the AudioSource

Expected results: AudioSource continues to play
Actual results: AudioSource does not continue to play

Reproducible with: 2019.1.0a10, 2019.1.2f1, 2019.2.0b1, 2019.3.0a2
Not reproducible with: 2017.4.26f1, 2018.4.0f1, 2019.1.0a9

Notes:
1. Pausing the AudioSource with "AudioSource.SetPause()" instead of "AudioListener.pause = true" does not reproduces this issue
2. AudioSource which did not have "SetScheduledEndTime" continues to play as expected after the pause

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a11

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.