We recently switched our project to Unity 2019.3.0f6 and are in the process of getting everything up and running on Nintendo Switch.
Unfortunately it would seem that this version of Unity and it’s matching Nintendo SDK are not yet supported?
Loading a scene, where a fmod listener is present and some audio is trying to play, results in the game just freezing.
On a non dev build, the game seems to be able to recover (to a certain point ) but when playing a dev build, fmod just stops working.
We were able to recreated this issue in a clean/empty project.
These are the steps we took:
• new project using Unity 2019.3.0f6
• Added the fmod unity plugins for the different platforms (2.00.08)
• Created the banks with the matching studio version
• Configured fmod for a multiplatform setup using streaming assets and added the banks
• Disabled unity audio
• added a listener to the camera in the sample scene and removed the default unity audio listener
• added the default emitter that plays some audio OnEnable to the camera
• Verfied everything is playing correctly in the Editor
• Created dev build for Nintendo switch
On pc everything works fine but on the console we instantly get the following error:
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.
at FMODUnity.RuntimeManager.CheckInitResult (FMOD.RESULT result, System.String cause) [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.Initialize () [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.get_Instance () [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.get_StudioSystem () [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.AddListener (FMODUnity.StudioListener listener) [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.StudioListener.OnEnable () [0x00000] in <00000000000000000000000000000000>:0(Filename: currently not available on il2cpp Line: -1)
Starting main loop at 2.985485 seconds.
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.
at FMODUnity.RuntimeManager.CheckInitResult (FMOD.RESULT result, System.String cause) [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.Initialize () [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.get_Instance () [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.get_StudioSystem () [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.RuntimeManager.AddListener (FMODUnity.StudioListener listener) [0x00000] in <00000000000000000000000000000000>:0
at FMODUnity.StudioListener.OnEnable () [0x00000] in <00000000000000000000000000000000>:0(Filename: currently not available on il2cpp Line: -1)
We tested this using 2.00.08
I’m hoping this issue is caused by the fact that according to the download page the plugin has been built for sdk9.3.1 while the latest versions of Unity are all on sdk9.4.1 .
But it’s tricky for use to determine if that is indeed the case.
Should this indeed be the cause of this issue, is there a way to get our hands on a beta plugin version that does support this or an eta on potential support?
Thanks for any potential help regarding this issue.
-Brecht