FMOD compiler errors when disabling the Physics packages

Hi,

In my project, I want to disable physics packages (both 2D and 3D) via the package manager. This breaks FMOD, as it has reference to RigidBody and RigidBody2D.

I don’t want these packages because I don’t use them and they slow down build times, and they inflate my game. Unity has the ability to disable packages for a reason, and it would be nice if FMOD could still be used by users who don’t want these packages.

I believe it’s possible to detect whether physics are enabled with version defines in the Assembly Definition.

Of course I could modify the codebase myself, but that would mean I can no longer update FMOD easily.

We do have quite a few references into the Physics packages, I’ll add a task to our tracker to see about making its use conditional via our asmdef.

Thanks!