Issue when replaying BGM during FMOD_STUDIO_STOP_ALLOWFADEOUT

When I try to play the BGM again while FMOD_STUDIO_STOP_ALLOWFADEOUT is in progress, it doesn’t play. Is this the intended behavior?
When the scene changes, I fadeStop the existing BGM and try to play the same BGM again, but it doesn’t play, so I’m asking.

I verified that SoundObject’s start() was called in the runtime code, but play was not called.

image
I think it’s because the maximum number of instances is 1.

Setting the max instances to 1 with the “None” stealing mode on could definitely cause that behavior - I’d recommend using the “Oldest” stealing mode instead and seeing whether that resolves the issue.

image

Let me check.
Thank you.

1 Like