Hi, I couldn’t build on Nintendo Switch with Unity 2019.2.8 & latest FMOD 2.00.05 (installed from the unity package)
The error is 2 functions not found at link time during the IL2CPP compilation.
I had to comment those functions in fmod_studio.cs: FMOD_Studio_Bus_GetCPUUsage and FMOD_Studio_EventInstance_GetCPUUsage.
I deleted+re-unpackaged everything from the plugin, deleted caches (/library, IL2CPP cache etc) but still had the error. Only commenting those functions in the code worked.
Extract from error log:
il2cpp_cache/4E5F75CFFF22399A0E8A48187CF905B9.o:Assembly-CSharp-firstpass1.cpp:function EventInstance_FMOD_Studio_EventInstance_GetCPUUsage_mADD422139A6AA27DD810EB8022D3A967F92C9802: error: undefined reference to ‘FMOD_Studio_EventInstance_GetCPUUsage’
clang: error: linker command failed with exit code 1 (use -v to see invocation)