when i use fmod profiler to connect our game in unity editor.
we swith scene a few times. we found the Channel Group Fader increases.
the pic follow:
and the memory increase as well.
i use the relase event code as follows:
public void Stop()
{
if (instance.isValid())
{
//instance.stop(AllowFadeout ? FMOD.Studio.STOP_MODE.ALLOWFADEOUT : FMOD.Studio.STOP_MODE.IMMEDIATE);
instance.stop(FMOD.Studio.STOP_MODE.ALLOWFADEOUT);
instance.release();
instance.clearHandle();
}
}
can this problem leads to buffer starvation, and then the game crashes.