Is Desktop Build Folder Required for the "FMOD Studio Project" Bank Import Source Type?

Hey there,

I’m working on a test Android game project for learning purposes. I created a new FMOD Project, removed the Desktop platform from Build Preferences and added a Mobile platform. Then I built my banks and got Master.bank and Master.strings.bank in my /Build/Mobile directory. But when I tried to import these banks to Unity via the FMOD Studio project, I got the following error, which is why I’m asking the question in the title:

FMOD: Bank refresh failed: Directory ../../FMOD Studio Projects/TestProject/Build/Desktop doesn’t exist. Please confirm project directory in the settings.
UnityEngine.Debug:LogErrorFormat (string,object)
FMODUnity.RuntimeUtils:DebugLogErrorFormat (string,object) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:604)
FMODUnity.BankRefreshWindow:HandleBankRefresh (string) (at Assets/Plugins/FMOD/src/Editor/BankRefreshWindow.cs:81)
FMODUnity.BankRefresher:HandleBankRefresh (string) (at Assets/Plugins/FMOD/src/Editor/BankRefresher.cs:129)
FMODUnity.EventManager:RefreshBanks () (at Assets/Plugins/FMOD/src/Editor/EventManager.cs:44)
FMODUnity.SettingsEditor:BrowseForSourceProjectPath (UnityEditor.SerializedObject) (at Assets/Plugins/FMOD/src/Editor/SettingsEditor.cs:2745)
FMODUnity.SetupWizardWindow:LinkingPage () (at Assets/Plugins/FMOD/src/Editor/SetupWizard.cs:548)
FMODUnity.SetupWizardWindow:OnGUI () (at Assets/Plugins/FMOD/src/Editor/SetupWizard.cs:323)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

I also read through this topic from 2017, which seemed similar to my case, but I couldn’t find an answer to my question.

I’m using FMOD v2.03.13 (Studio and Integration) and Unity 2022.3.50f1.

Thanks!

Hi!

Yes, a Desktop build folder is required for the “FMOD Studio Project” or “Multiple Platform Build” source types. The integration expects a Desktop build folder in order to populate cached editor data. If you have a “Mobile” platform in Studio and create a “Mobile” platform in FMOD for Unity’s platform specific settings, only the Mobile banks will be copied to the output when you build your Unity project to iOS/Android.

As a result, you’ll either need to create Desktop platform and build banks for it for the Unity editor, or swap to using the “Single Platform Build” source type.