We are building for multiple platforms including oculus and as such we switch the XR plug-in at build time as required, but Wave XR runs whether it is supposed to be active or not. This results in logs being spammed as Wave XR is failing to find the device as it is running on a Quest 2.
Wave XR adds a scripting define when it is enabled, but it seems this is not actually used to ifdef out the code that is registered as [RuntimeInitializeOnLoadMethod]. Please can we get a fix for this as it is making debugging more difficult on other platforms without having to completely remove the Wave XR packages from the project.
Repro steps:
Build with any other XR plug-in enabled and Wave XR disabled.
Run and observe that the Wave XR code still runs and spams logs.