Hello, I am using FMOD for my game, and for some features I use Playmaker. The thing is, when using a Playmaker custom action for showing dialogue in the game, I start a snapshot instance that lowers the music volume and when the dialogue is finished I stop the same instance, but the volume is never restored.
I am doing something wrong? I searched through the forums but I couldn’t find a solution.
I use this on the OnEnter function of the Playmaker action:
snapshot = FMODUnity.RuntimeManager.CreateInstance(“snapshot:/mix_dialogue”);
and then I use this for start ↓:
snapshot.start();
Later on I use ↓
snapshot.stop(FMOD.Studio.STOP_MODE.ALLOWFADEOUT);
snapshot.release();