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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
Add comment