AHDSR Fades aren't working properly in Unity

Using Unity 2023.1.9f1 and FMOD Studio 2.03, I have simple events for background music and each song uses an AHDSR on the master volume to fade in and out.

Within FMOD Studio, the fades work as expected but, in Unity, the songs fade-in but never out - immediately stopping every time despite calling instance.stop(ALLOWFADEOUT).

I’ve combed the forum for this but haven’t seen an exact match and would appreciate any help!

Edit: I’ve noticed that Unity will perform the fade out if stop is triggered while fading in.

There was a known issue with AHDSR affecting release behavior in the way you’re describing that was fixed in 2.03.02 - please update both FMOD Studio and FMOD for Unity to that version, and see whether that resolves the issue for you.

1 Like