Search Issue Tracker

Fixed in Unity 5.6.0

Votes

2

Found in

5.4.1f1

Issue ID

840294

Regression

Yes

AudioClip.isPlaying returns false on the second frame when playing clip from Resources folder with "Load In Background" property

Audio

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

Reproduction steps:
1. Open the "bug.zip" project
2. Open the "Test" scene
3. Play and wait for scene to pause
4. Notice the output in the console

Expected result: Every frame when AudioClip is playing returns true
Actual result: Second frame after AudioClip start playing returns false

Note: Issue is not present when playing an AudioClip without "Load In Background"

Reproduced on: 5.5.0b8, 5.4.2p1,
Not reproducible on 5.3.6p7, 5.2.5f1

Comments (1)

  1. C2b9404dcba62a119c4417b82518dac2?d=mm

    ScottyB

    May 09, 2017 02:28

    Can this bug fix please be back-ported to the 5.5.x line as we're currently forced to work-around this bug in a project that is not yet possible to upgrade to 5.6.x?

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.