Unity Issue Tracker - Pitch changes while paused messes up scheduling of the audio random container
Fixed
UUM-73246
Pitch changes while paused messes up scheduling of the audio random container
Unity: Audio Random Container
Fixed
6.0.X
Won't Fix
6.1.X
Fixed before version branch off
Fixed AudioRandomContainer clips repeated when changing pitch whilst paused
Steps to reproduce:
Download and open the attached project 'ARC Dramatic Pitch.zip'.
Open the SampleScene.
Enter play mode.
Listen to the output.
Actual results: Sometimes, the audio random container repeats the same clip when unpausing, for example, in the screen recording where it plays 'seven' twice.
Expected results: The audio random container reliably picks up where it left off, regardless of pitch changes while paused.
Reproducible with versions:
6000.0.5f1
Tested on (OS): MacOS (M1) 14.4.1
Notes:
In the repro project, the script 'DramaticPitchChangesARC.cs' automatically pauses, unpauses, and modifies pitch periodically.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?