I am attempting to load MasterBank.bank from a custom MonoBehaviour. I call RuntimeManager.LoadBank(“MasterBank”) in the Awake function, but when I click play, it throws the following error:
RuntimeBankModel::openFile : Failed to open file 'C:\Users\<my_username>\Music\FMOD Studio\GalbetPlatformer\Build\Desktop\MasterBank.bank' BankLoadException: [FMOD] Could not load bank 'C:\Users\<my_username>\Music\FMOD Studio\GalbetPlatformer\Build\Desktop\MasterBank.bank' : ERR_FILE_NOTFOUND : File not found.
I am using Unity 2018.3.8f1 and FMOD Studio+Unity package 1.10.11_v2.
Connection type is set to “Project,” and the filepath is set correctly. It happens whether the import type is “Streaming Assets” or “AssetBundles.” Load All Event Data At Initialization is unchecked.
Is there any likely cause of this problem? I would not be surprised if I was making some dumb rookie mistake… If there’s any additional information I need to provide, please do let me know.
EDIT: For the record, I did indeed confirm that the file in question exists. That’s fairly important, eh?