Yes, duplicating the DLL and placing it where the build wants it, and also where the editor wants it, does fix the issue. I don’t see a way for me to fix the build path, I think it will need to be addressed by FMOD.
Hi Connor. I solved the issue but as I mentioned before it’s all provoked by the Oculus plugin getting installed in the wrong folder by default. The DLL files need to be manually moved to the correct folder after installation.
Thank you for the information. The first thing to check is if the plugin is added to the settings:
I noticed that I had to use the OculusSpatializerFMOD.dll in the "\FMOD\x64\OculusSpatializerFMOD.dll" from the Oculus download ovr_audio_spatializer_fmod_47.0.zip. I then placed that dll into \Assets\Plugins\FMOD\platforms\win\lib\x86_64\. Let me know if that works.
Also when I remove the plugin OculusSpatializerFMOD from the settings in Unity and use the FMOD spatializer instead I get this yellow message in the console:
Plugins: Couldn’t open /Users/bronamartin/Unity/VikingVillageTest_FMOD/Assets/Plugins/FMOD/platforms/mac/lib/OculusSpatializerFMOD.bundle/Contents/MacOS/OculusSpatializerFMOD, error: dlopen(/Users/bronamartin/Unity/VikingVillageTest_FMOD/Assets/Plugins/FMOD/platforms/mac/lib/OculusSpatializerFMOD.bundle/Contents/MacOS/OculusSpatializerFMOD, 2): Library not loaded: @rpath/libthird-party_pffft_pffft.dylib
Referenced from: /Users/bronamartin/Unity/VikingVillageTest_FMOD/Assets/Plugins/FMOD/platforms/mac/lib/OculusSpatializerFMOD.bundle/Contents/MacOS/OculusSpatializerFMOD
Reason: image not found
But the sounds work fine when stop I using the OculusSpatializerFMOD
Apologies, I overlooked you were working on a Mac.
I managed to solve the issue by using the libOculusSpatializer.dylib rather than the .dunble. Could you please try just importing the libOculusSpatializer.dylib then adding the following to the FMOD Integration Settings:
Hi Connor! Thanks for your reply,
I have tried that and I am still getting errors. I have attached the errors and my FMOD settings.
This is where the trouble starts - Missing DSP plugin ‘Oculus Spatializer’ - So this is the Oculus Spatializer plugin that I use for in FMOD studio. It is located in the Plugins folder of FMOD Studio but not in the assets plugins folder in unity. But I think that is all correct.
When I remove the Oculus Spatializer and replace it Resonance Audio everything works fine.
When is this error being logged? Are you able to provide the full Editor and Player Unity logs that I can have a look at?
You should only require the following files in the android->lib->arm64-v8a folder: