Getting the below errors when running on SWITCH. Below the errors is the code. This is porting from a PC version.
SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Debug.Initialize : ERR_UNSUPPORTED : A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.
SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Debug.Initialize : ERR_UNSUPPORTED : A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.
Is the below not allowed, dont get any errors on PC version.
It sounds like you are getting FMOD_ERR_UNSUPPORTED from FMOD.Debug.Initialize triggered by the first use of FMOD. You would get this in our Unity integration if you were doing a development build but linking the Release FMOD lib. Check out our platform specific notes regarding static linking for details.
If you are adding Xbox One to your existing Unity project, make sure the version of the platform extension matches the version of the base integration you have. Alternatively, update the base and all platform extensions to a more recent version.
We restructured the integration layout in 2.0 (which explains the path issue you are seeing). If you upgrade you might need to run this.