Hello
Using Unity 2022.3.13f1
I am having an issue when using AudioSource.PlayScheduled when I have paused the AudioSource, with AudioSource.Pause.
PlayScheduled works as expected when AudioSource hasn’t been started yet : I can reliably sync my game with the music.
However, if I pause the AudioSource, and try to use PlayScheduled again, the AudioSource will resume playing instantaneously.
Despite any dspTime I am trying to set, ahead of AudioSettings.dspTime, the AudioSource is always playing instantaneously if it was paused before.
I do not have this issue if I stop the AudioSource, (re)set the AudioSource time to the time when it has been stopped, and call PlayScheduled.
Should we be able to use AudioSource.Pause and AudioSource.PlayScheduled together ? Or do I have to Stop->PlayScheduled everytime I want to pause the AudioSource or move its playback time ?
Thanks in advance !