Search Issue Tracker

Fixed in 5.2.0

Votes

0

Found in

5.0.0f4

Issue ID

678214

Regression

No

PlayOneShot() gets reduced volume if the main script thread is busy or waits

Audio

-

How to reproduce:
1. Open the attached project
2. Open the scene "Scenes/audiostarttest"
3. Press play
4. You should be presented with 6 buttons
5. Try clicking them
5. Notice that the last two PlayOneShot() examples sound differently

AudioSource.PlayOneShot() plays inconsistent audio (typically reduced volume), if it is immediately followed either by intense CPU work or by work which causes task switching
In contrast, AudioSource.Play() handles these situations without distortions.

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.