Unreal 4.27 Quest build issue loading banks using resonance

Hello!
We recently updated our game engine from 4.26 to 4.27 and updated all plugins, including FMOD to 2.02.04 version. We are having issues loading banks that use Google Resonance when packaging to Oculus Quest.
We follow these instructions Platform Specifics but there is no audio still. It seems as the plugin is loaded as libresonanceaudio.so but when it tries to load the banks, it throws “DSP plugin ‘Resonance Audio Source’ has mismatched parameters to those in the bank” error.

12-06 17:30:06.751 22009 22045 D UE4     : [2021.12.06-22.30.06:751][  0]LogFMOD: FFMODStudioModule startup
12-06 17:30:06.751 22009 22045 D UE4     : [2021.12.06-22.30.06:751][  0]LogFMOD: Lib path = '../../../NeonFuryVR/Plugins/FMODStudio/Binaries'
12-06 17:30:06.752 22009 22045 D UE4     : [2021.12.06-22.30.06:752][  0]LogFMOD: Display: Loaded bank lookup
12-06 17:30:06.754 22009 22045 D UE4     : [2021.12.06-22.30.06:754][  0]LogFMOD: Display: Loaded asset lookup
12-06 17:30:06.767 22009 22045 D UE4     : [2021.12.06-22.30.06:767][  0]LogFMOD: Default sample rate = 24000
12-06 17:30:06.767 22009 22045 D UE4     : [2021.12.06-22.30.06:767][  0]LogFMOD: System sample rate = 48000
12-06 17:30:06.856 22009 22045 D UE4     : [2021.12.06-22.30.06:856][  0]LogFMOD: Loading plugin 'resonanceaudio'
12-06 17:30:06.856 22009 22045 D UE4     : [2021.12.06-22.30.06:856][  0]LogFMOD: Trying to load plugin file at location: resonanceaudio.so
12-06 17:30:06.857 22009 22045 D UE4     : [2021.12.06-22.30.06:857][  0]LogFMOD: Error: ../android/src/fmod_os_misc.cpp(863) - dlopen failed: library "resonanceaudio.so" not found
12-06 17:30:06.857 22009 22045 D UE4     : 
12-06 17:30:06.857 22009 22045 D UE4     : [2021.12.06-22.30.06:857][  0]LogFMOD: Error: ../android/src/fmod_os_misc.cpp(863) - dlopen failed: library "resonanceaudio.so" not found
12-06 17:30:06.857 22009 22045 D UE4     : 
12-06 17:30:06.857 22009 22045 D UE4     : [2021.12.06-22.30.06:857][  0]LogFMOD: Trying to load plugin file at location: resonanceaudio64.so
12-06 17:30:06.858 22009 22045 D UE4     : [2021.12.06-22.30.06:858][  0]LogFMOD: Error: ../android/src/fmod_os_misc.cpp(863) - dlopen failed: library "resonanceaudio64.so" not found
12-06 17:30:06.858 22009 22045 D UE4     : 
12-06 17:30:06.858 22009 22045 D UE4     : [2021.12.06-22.30.06:858][  0]LogFMOD: Error: ../android/src/fmod_os_misc.cpp(863) - dlopen failed: library "resonanceaudio64.so" not found
12-06 17:30:06.858 22009 22045 D UE4     : 
12-06 17:30:06.858 22009 22045 D UE4     : [2021.12.06-22.30.06:858][  0]LogFMOD: Trying to load plugin file at location: libresonanceaudio.so
12-06 17:30:06.859 22009 22045 D UE4     : [2021.12.06-22.30.06:859][  0]LogFMOD: Loaded plugin resonanceaudio
12-06 17:30:06.859 22009 22045 D UE4     : [2021.12.06-22.30.06:859][  0]LogFMOD: Loading bank: ../../../NeonFuryVR/Content/FMOD/Mobile/AMB.bank
12-06 17:30:06.859 22009 22045 D UE4     : [2021.12.06-22.30.06:859][  0]LogFMOD: Loading bank: ../../../NeonFuryVR/Content/FMOD/Mobile/Music.bank
12-06 17:30:06.859 22009 22045 D UE4     : [2021.12.06-22.30.06:859][  0]LogFMOD: Loading bank: ../../../NeonFuryVR/Content/FMOD/Mobile/SFX.bank
12-06 17:30:06.859 22009 22045 D UE4     : [2021.12.06-22.30.06:859][  0]LogFMOD: Loading bank: ../../../NeonFuryVR/Content/FMOD/Mobile/UI.bank
12-06 17:30:06.859 22009 22045 D UE4     : [2021.12.06-22.30.06:859][  0]LogFMOD: Loading bank: ../../../NeonFuryVR/Content/FMOD/Mobile/VO.bank
12-06 17:30:06.918 22009 22107 D UE4     : [2021.12.06-22.30.06:918][  0]LogFMOD: Warning: ../../src/fmod_effect.cpp(224) - DSP plugin 'Resonance Audio Source' has mismatched parameters to those in the bank
12-06 17:30:06.918 22009 22107 D UE4     : 
12-06 17:30:06.918 22009 22107 D UE4     : [2021.12.06-22.30.06:918][  0]LogFMOD: Error: ../../src/fmod_runtime_manager.cpp(1265) - DSP plugin returned an error, bank will not load properly.
12-06 17:30:06.918 22009 22107 D UE4     : 
12-06 17:30:06.958 22009 22107 D UE4     : [2021.12.06-22.30.06:958][  0]LogFMOD: Warning: ../../src/fmod_effect.cpp(224) - DSP plugin 'Resonance Audio Source' has mismatched parameters to those in the bank
12-06 17:30:06.958 22009 22107 D UE4     : 
12-06 17:30:06.958 22009 22107 D UE4     : [2021.12.06-22.30.06:958][  0]LogFMOD: Error: ../../src/fmod_runtime_manager.cpp(1265) - DSP plugin returned an error, bank will not load properly.
12-06 17:30:06.958 22009 22107 D UE4     : 
12-06 17:30:06.982 22009 22107 D UE4     : [2021.12.06-22.30.06:982][  0]LogFMOD: Warning: ../../src/fmod_effect.cpp(224) - DSP plugin 'Resonance Audio Source' has mismatched parameters to those in the bank
12-06 17:30:06.982 22009 22107 D UE4     : 
12-06 17:30:06.982 22009 22107 D UE4     : [2021.12.06-22.30.06:982][  0]LogFMOD: Error: ../../src/fmod_runtime_manager.cpp(1265) - DSP plugin returned an error, bank will not load properly.
12-06 17:30:06.982 22009 22107 D UE4     : 
12-06 17:30:07.022 22009 22107 D UE4     : [2021.12.06-22.30.07:022][  0]LogFMOD: Warning: ../../src/fmod_effect.cpp(224) - DSP plugin 'Resonance Audio Source' has mismatched parameters to those in the bank
12-06 17:30:07.022 22009 22107 D UE4     : 
12-06 17:30:07.022 22009 22107 D UE4     : [2021.12.06-22.30.07:022][  0]LogFMOD: Error: ../../src/fmod_runtime_manager.cpp(1265) - DSP plugin returned an error, bank will not load properly.
12-06 17:30:07.022 22009 22107 D UE4     : 
12-06 17:30:07.023 22009 22045 D UE4     : [2021.12.06-22.30.07:023][  0]LogFMOD: Warning: Failed to load bank: ../../../NeonFuryVR/Content/FMOD/Mobile/AMB.bank (An unspecified error has been returned from a plugin.)
12-06 17:30:07.023 22009 22045 D UE4     : [2021.12.06-22.30.07:023][  0]LogFMOD: Warning: Failed to load bank: ../../../NeonFuryVR/Content/FMOD/Mobile/SFX.bank (An unspecified error has been returned from a plugin.)
12-06 17:30:07.023 22009 22045 D UE4     : [2021.12.06-22.30.07:023][  0]LogFMOD: Warning: Failed to load bank: ../../../NeonFuryVR/Content/FMOD/Mobile/UI.bank (An unspecified error has been returned from a plugin.)
12-06 17:30:07.023 22009 22045 D UE4     : [2021.12.06-22.30.07:023][  0]LogFMOD: Warning: Failed to load bank: ../../../NeonFuryVR/Content/FMOD/Mobile/VO.bank (An unspecified error has been returned from a plugin.)
12-06 17:30:07.023 22009 22045 D UE4     : [2021.12.06-22.30.07:023][  0]LogOnline: Oculus: Oculus Startup!

Any Ideas why this could be happening?

1 Like

What was the version of FMOD you had before updating? It sounds like an old version of the plugin is being referenced for some reason, can you please double check that the source path in you __APL.xml_ file is pointing to the new resonance audio plugin and not some other file?
Are you getting any FMOD errors / warnings / behavioural issues when running in the Unreal Editor?

1 Like

before update, we were in 2.01.09. In the editor works fine, the issue is only when packaged for Android, we even tested on other platforms and it was working fine
We stayed in 2.01.13 for now.

I have reproduced this issue on Android- there appears to be a problem with the android resonance audio plugin in 2.02.
I have passed this on to the dev team to fix in a later release, thank you for reporting this issue!

1 Like

it looks like i have the same problem in unity after upgrading to fmod 2.02. it says: PluginEffectModel:.init : DSP plugin ‘Resonance Audio Source’ has mismatched parameters to those in the bank. Am also using the Quest with Android as the target device. Am using 2.02.04 and was on an older version before.

hmmm

Is there a fix for this yet?

Not yet unfortunately, but we should have a fix soon.

1 Like

After retesting this, the issue is now be resolved in 2.02.06, so for anyone still experiencing this issue please update to the latest version of FMOD.

2 Likes

Updating worked for me on Unity, but with some tweaking.

In case it might help anyone.
Tested on Unity (2021.2.12) importing FMOD 2.02.06, and ran on Oculus Quest 2.
At first, I was getting the following errors:

2022/05/19 16:46:11.944 24038 24061 Error Unity [FMOD] FMOD_OS_Library_Load : dlopen failed: library "libc++_shared.so" not found
...
2022/05/19 16:46:11.961 24038 24061 Error Unity [FMOD] System::loadPlugin(libresonanceaudio.so, 0xcb75d924:0, 0) returned ERR_FILE_NOTFOUND for SYSTEM

To solve it, copied libc++_shared.so from the NDK folder (\Unity\Hub\Editor\2021.2.12f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++\libs) into the FMOD’s Android libraries in the proyect (\Assets\Plugins\FMOD\platforms\android\lib).
And set the config of the file as in the screenshot.

1 Like