2.02.17 SystemNotInitializedException: [FMOD] Initialization failed : Loading plugin 'OculusSpatializerFMOD' from '__BAD PATH__/Assets/Assets/Plugins/FMOD/platforms/win/lib/x86_64/OculusSpatializerFMOD.dll' : ERR_FILE_NOTFOUND'

Hi,
Unity: 2019.4.40
OS: Win 10,

I’ve updated from 2.02.06 to 2.02.17 of both Studio and Unity integration package,
I’m using Oculus Spatializer OculusSpatializerFMOD carefully written into dynamic plugins of both Editor and Windows platforms
When I hit the Play Button, FMOD ceases to initialise and throws:

        SystemNotInitializedException: [FMOD] Initialization failed : Loading plugin 'OculusSpatializerFMOD' from '_redacted_/Assets/Assets/Plugins/FMOD/platforms/win/lib/x86_64/OculusSpatializerFMOD.dll' : ERR_FILE_NOTFOUND : File not found.

Notice the Assets/Assets/ part…

If I change line 82 in PlatformPlayInEditor.cs like this:

– string platformsFolder = $“{Application.dataPath}/{RuntimeUtils.PluginBasePath}/platforms”;
++ string platformsFolder = $“{RuntimeUtils.PluginBasePath}/platforms”;

Play in editor works, Bulid works

Great work, though
Cheers!

1 Like

Hi,

This is a known issue that is being resolved in the next release. Thank you for sharing your workaround.