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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment