Hello,
I’ve been struggling lately with loading banks on an Android build for Oculus Quest 2. Any help is appreciated! Version 2.02.07 and Unity 2021.3.3f1
The error is pasted below. I’ve tried a number of things from upgrading 2.02.04 to 2.02.07, double checking my oculus spatializer installation, deleting cache and fmodstudiocache.asset, etc.
The only clue I’ve found is that when running a Debug.LogError() in CopyToStreamingAssets() on the bankFilePaths, I get an odd backslash in the paths. Here is one bank for example. All follow the same pattern.
Assets/StreamingAssets\SFX.bank
This is was happening on both fmod versions, but I was not able to dig up if this was actually the cause of my issue.
I’ve tried single platform build, multi-platfrom builds, loading all banks, and loading specified banks. This project is not using “Split Application Binrary”
2022/08/18 00:13:30.244 6442 6542 Error Unity [FMOD] AndroidAssetFile::reallyOpen : Could not open 'Master.strings.bank' from the asset manager.
2022/08/18 00:13:30.244 6442 6542 Error Unity FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
2022/08/18 00:13:30.245 6442 6542 Error Unity [FMOD] RuntimeBankModel::openFile : Failed to open file 'file:///android_asset/Master.strings.bank'
2022/08/18 00:13:30.245 6442 6542 Error Unity FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
2022/08/18 00:13:30.301 6442 6464 Error Unity BankLoadException: [FMOD] Could not load bank 'file:///android_asset/Master.strings.bank' : ERR_FILE_NOTFOUND : File not found.
2022/08/18 00:13:30.301 6442 6464 Error Unity at FMODUnity.RuntimeManager.loadedBankRegister (FMODUnity.RuntimeManager+LoadedBank loadedBank, System.String bankPath, System.String bankName, System.Boolean loadSamples, FMOD.RESULT loadResult) [0x00000] in <00000000000000000000000000000000>:0
2022/08/18 00:13:30.301 6442 6464 Error Unity at FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples) [0x00000] in <00000000000000000000000000000000>:0
2022/08/18 00:13:30.301 6442 6464 Error Unity at FMODUnity.RuntimeManager.LoadBanks (FMODUnity.Settings fmodSettings) [0x00000] in <00000000000000000000000000000000>:0
2022/08/18 00:13:30.301 6442 6464 Error Unity at FMODUnity.RuntimeManager.Initialize () [0x00000] in <00000000000000000000000000000000>:0
2022/08/18 00:13:30.301 6442 6464 Error Unity at FMODUnity.RuntimeManager.get_Instance () [0x00000] in <00000000000000000000000000000000>:0
2022/08/18 00:13:30.301 6442 6464 Error Unity at FMODUnity.RuntimeManager.GetBus (System.String path) [0x00000] in <00000000000000000000000000000000>:0
2022/08/18 00:13:30.303 6442 6464 Error Unity BusNotFoundException: [FMOD] Bus not found 'bus:/Music'
2022/08/18 00:13:30.303 6442 6464 Error Unity at FMODUnity.RuntimeManager.GetBus (System.String path) [0x00000] in <00000000000000000000000000000000>:0