Unity Issue Tracker - ARC playback stops due to doppler pitch scheduling
Fixed
UUM-54951
ARC playback stops due to doppler pitch scheduling
Unity: Audio Random Container
Fixed
6.0.X
Won't Fix
6.1.X
2023.2.X
Fixed before version branch off
Make the AudioRandomContainer more robust to rapid pitch changes from doppler
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
When the doppler effect is high it can cause ARC to stop playing. This could be a particular issue for racing games if using ARC for the car sounds.
Repro
Open an empty project
Import the attached package `ARC Doppler Issue.unitypackage`
Open SampleScene
Enter play mode
Wait for a while
Expected: The sound keeps on playing
Actual: The sound stops playing
Note
Watch the recording at the 0:55 mark you can hear that the audio stops. If you want a more consistent repro you can set the speed value to 100 on the Cube game object's Drive Race Car component. Note that you can also hear some empty space between sounds indicating that the scheduling on the offset is not accurate.
This is a continuation of an older issue [Internal link]
Prioritise and Follow this issue
Have a workaround or additional info about this issue?