FMOD setup wizard stuck in unity 6.3 Linux

Just downloaded fmod to integrate in a new unity project, however the setup wizard is stuck on a loop.

I am first greet by this window.

I first click on disable existing native libraries, and then im asked to restart unity, the first 2 steps are marked as completed.

when i click on “copy new native libraries” the setup is marked as complete for a few seconds, then i see a “reloading asset domain” progress bar and the wizard is sent back to the first step again.

i tried doing the steps manually but if i copy and enable the libraries manually fmod does not acknowledge it and it keeps stuck in this first loop

any help with this would be appreciated,

thanks!

Hi,

Thank you for bringing this to our attention. Could I please grab your Unity version?

Thank you Connor, i am using unity 6.3 LTS (6000.3.14.f1) and my linux distribution is fedora 44

Thank you for the info.

Could you please try deleting:
<UNITY PROJECT>\Assets\Plugins\FMOD

and then reimport the integration fresh again? This should just remove the FMOD integration from the Unity project. Please make a copy the project before deleting files.

I tried it before posting on the forum however i tried it again now and got exactly the same result, i do believe fmod should be working correctly but if there are internal setup variables i believe they are being reset whenever “reloading domain” happens, because the first time i imported the plugin i got the normal setup wizard but then domain reload happened instantly and it sent me back to the loop where i am at, so whatever is happening it is happening because of domain reload.

Thank you Connor

Thanks for the info.

If you close the wizard are you able to use the integration? For example are you able to run the Reload Banks function

If this does not work, could you please share the editor logs? Could you also try disabling Domain Reloading(Unity Docs) in the Project Settings and let me know if that lets you get past the wizard?

hey Connor,

I created a new fmod project and tried to integrate it despite the setup wizard being stuck and while most of the UI seems to be functioning when i opened even browser i got this, so i really believe something is wrong with the setup if running unity on linux. here i paste both logs for the errors.



NullReferenceException: Object reference not set to an instance of an object
FMODUnity.EventManager.get_Banks () (at Assets/Plugins/FMOD/src/Editor/EventManager.cs:1175)
FMODUnity.EditorUtils.LoadPreviewBanks () (at Assets/Plugins/FMOD/src/Editor/EditorUtils.cs:736)
FMODUnity.EventBrowser.ShowWindow () (at Assets/Plugins/FMOD/src/Editor/EventBrowser.cs:55)

and for the 2nd one

NullReferenceException: Object reference not set to an instance of an object
FMODUnity.EventManager.get_Events () (at Assets/Plugins/FMOD/src/Editor/EventManager.cs:1166)
FMODUnity.EventBrowser+TreeView.BuildRows (UnityEditor.IMGUI.Controls.TreeViewItem root) (at Assets/Plugins/FMOD/src/Editor/EventBrowser.cs:263)
UnityEditor.IMGUI.Controls.TreeView.BuildRowsInternal (UnityEditor.IMGUI.Controls.TreeViewItem1[TIdentifier] root) (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewOld.cs:127) UnityEditor.IMGUI.Controls.TreeView1[TIdentifier].BuildRows (UnityEditor.IMGUI.Controls.TreeViewItem1[TIdentifier] root) (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:96) UnityEditor.IMGUI.Controls.TreeView1+TreeViewControlDataSource[TIdentifier].FetchData () (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDataSource.cs:58)
UnityEditor.IMGUI.Controls.TreeViewDataSource1[TIdentifier].ReloadData () (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/TreeViewDataSource.cs:56) UnityEditor.IMGUI.Controls.TreeView1+TreeViewControlDataSource[TIdentifier].ReloadData () (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDataSource.cs:25)
UnityEditor.IMGUI.Controls.TreeViewController1[TIdentifier].ReloadData () (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/TreeViewController.cs:371) UnityEditor.IMGUI.Controls.TreeView1[TIdentifier].Reload () (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:115)
FMODUnity.EventBrowser.ReadEventCache () (at Assets/Plugins/FMOD/src/Editor/EventBrowser.cs:99)
FMODUnity.EventBrowser.b__45_0 () (at Assets/Plugins/FMOD/src/Editor/EventBrowser.cs:1623)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:407)

thanks connor, if i have time tomorrow i can record a short video about this stuff.

when i clicked in refresh banks nothing happened

i started digging into the code of the setup wizard and noticed the staging folder had to be deleted, i manually deleted the folder and now i see the normal setup wizard window, its 6 am, i am too tired to do more testing but ill update you about the situation tomorrow. thanks.

yeah that was it, the script very likely does not has enough permissions to delete stagging folder in linux and that breaks the setup wizard, so running the setup wizard once and letting it copy and do its stuff then manually deleting te staging folder is enough to make it work, after that i was able to open event browser and play sample banks, i think this will be the solution, if something new happens ill post again, its 6 am but could not resist testing.

thanks Connor.

Thank you for sharing the solution, we greatly apricate it!

Is there something special about where you have the Unity project saved? I have not been able to reproduce an issue with permission on Linux. Are you using the editor through the Unity Hub?

that’s correct i open unity trough unity hub which was installed trough the command line.

Thank you for sharing. If you are able to identify what is causing the permission issues exactly that would be great! If there is anything else we can assist with please do not hesitate to task!