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
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.
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?
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)
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.
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?
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!