Possible DSP parameter data related regression in 2.02.10 and above (FMOD_ERR_INTERNAL)

Hi,

I upgraded the version of FMOD to 2.02.11 in my project recently and started getting random FMOD_ERR_INTERNALs, and after installing various versions of FMOD it appears to be an issue introduced in 2.02.10. My code does the following:

  1. Create an instance of an event with the Steam Audio spatializer effect
  2. In an instance create callback, find the Steam Audio DSP and call setParameterData for the SIMULATION_OUTPUTS parameter.
  3. After playback has stopped, release the event instance.

The next time StudioSystem::update is called, it will return FMOD_ERR_INTERNAL and log the following:

FMOD: assertion: 'mImpl->mRefCount > 0' failed
 (C:\buildagent2\work\b8b6893b00c565e4\studio_api\src\fmod_effect.cpp:assert, 132)
FMOD: System::update returned error 28.
(C:\buildagent2\work\b8b6893b00c565e4\studio_api\src\fmod_asyncmanager.cpp:AsyncManager::asyncThreadLoop, 815)
FMOD error: An error occurred that wasn't supposed to.  Contact support.

Additionally, this can sometimes result in a crash in StudioSystem::release when shutting down, but this doesn’t always occur.
I’ve done a full trace log at FMOD log - Pastebin.com. I’m not 100% sure that this isn’t the result of something being poorly implemented in the plugin, but after going through the source of the plugin I’m not sure how it could cause this, and versions 2.02.09 and below still work.

Hi,

Unfortunately, I was unable to reproduce the issue. Are you able to reproduce the issue if you try it with a different DSP? Or would it be possible to get a copy of the code uploaded to your profile?