Search Issue Tracker

Fixed in 5.0.1

Votes

1

Found in

5.0.0b22

Issue ID

669690

Regression

No

WebGL Error: Trying to play disposed sound

WebGL

-

To reproduce:
1. Open attached package (test2.package)
2. Open game scene
3. Build WebGL (select development build)
4. Launch build
5. Notice errors: "Trying to play disposed sound!"

Comments (1)

  1. Thewhiteaura

    Apr 15, 2015 10:11

    I have the same issue, I can reimport the sound and it starts to work again. I believe my issue is caused by having multiple music managers (they are different names). I have one that was placed into the unity scene view (the first scene of the game) which then persists amongst every other scene in the game. I make it disable the audio source component when it enters levels with a different sound manager and re-enable it again on scenes without said managers. If I go through scenes during testing in unity and back to the first scene a few times this error shows up and wont play my menu music any more. I think reloading the project fixes the issue, until it arises again.

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.