Nintendo Switch linker error on build

I’m running Unity 2019.4.8f1, FMOD Studio/Integration 2.01.04 and the Nintendo Switch SDK 10.4.1 and when building the game I get a few errors from the linker:

error: undefined reference to 'FMOD5_System_GetCPUUsageEx'

If I comment out lines 1205-1208 and lines 1555-1556 of fmod.cs the build is able to finish. These are both references to GetCpuUsageEx().

Is this a mistake in the current version of the FMOD Unity Integration, or am I doing something wrong to get these errors initially? What is the best way to proceed?

1 Like

Thanks for bringing this to our attention, this is a bug in our latest release that will be corrected in our next release. The workaround you have suggested will work fine with no side affects. Anyone else in a similar situation should do the same until we can get an updated build out.