FMOD Unity Android Build: Some events not playing, failed to open master.bank

Hello,

We are currently using FMOD Studio and Unity integration version 2.01.11

We are having android-build specific errors where sounds are silent when triggered. These errors do not occur in the windows build of the game. This issue is not occuring in every scene, none of the messages below are printed into the console when all sounds are playing correctly.

Here are some of the messages being printed into the android log of a development build, would appreciate any guidance on how to fix this.

Best,
Zach

08-15 13:06:38.920  1148  1379 W Unity   : [FMOD] EventModelAPIData::getSampleLoadingState : Event '{878e9518-a1db-4159-b3cc-5ae1d47f889d}' waveform in error state
08-15 13:06:38.920  1148  1379 W Unity   :
08-15 13:06:38.920  1148  1379 W Unity   : UnityEngine.Logger:Log(LogType, Object)
08-15 13:06:38.920  1148  1379 W Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-15 13:06:38.920  1148  1379 W Unity   :
08-15 13:06:38.920  1148  1379 W Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-15 13:06:38.920  1148  1379 W Unity   :
08-15 13:06:38.920  1148  1379 W Unity   : [FMOD] SoundSourceInstrumentInstance::startChannelIfReady : Waveform instance in error state 76
08-15 13:06:38.920  1148  1379 W Unity   :
08-15 13:06:38.920  1148  1379 W Unity   : UnityEngine.Logger:Log(LogType, Object)
08-15 13:06:38.920  1148  1379 W Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-15 13:06:38.920  1148  1379 W Unity   :
08-15 13:06:38.920  1148  1379 W Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-15 13:06:38.920  1148  1379 W Unity   :
08-15 13:06:39.028  1148  1379 W Unity   : [FMOD] EventModelAPIData::getSampleLoadingState : Event '{7ac40857-e3b1-4c1f-94a4-92f82ea079fe}' waveform in error state
08-15 13:06:39.028  1148  1379 W Unity   :
08-15 13:06:39.028  1148  1379 W Unity   : UnityEngine.Logger:Log(LogType, Object)
08-15 13:06:39.028  1148  1379 W Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-15 13:06:39.028  1148  1379 W Unity   :
08-15 13:06:39.028  1148  1379 W Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-15 13:06:39.028  1148  1379 W Unity   :
08-15 13:06:39.028  1148  1379 W Unity   : [FMOD] SoundSourceInstrumentInstance::startChannelIfReady : Waveform instance in error state 76
08-15 13:06:39.028  1148  1379 W Unity   :
08-15 13:06:39.028  1148  1379 W Unity   : UnityEngine.Logger:Log(LogType, Object)
08-15 13:06:39.028  1148  1379 W Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-15 13:06:39.028  1148  1379 W Unity   :
08-15 13:06:39.028  1148  1379 W Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-15 13:06:39.028  1148  1379 W Unity   :
08-15 13:06:39.029  1148  1380 E Unity   : [FMOD] AndroidAssetFile::reallyOpen : Could not open 'Master.bank' from the asset manager.
08-15 13:06:39.029  1148  1380 E Unity   :
08-15 13:06:39.029  1148  1380 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-15 13:06:39.029  1148  1380 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-15 13:06:39.029  1148  1380 E Unity   :
08-15 13:06:39.029  1148  1380 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-15 13:06:39.029  1148  1380 E Unity   :
08-15 13:06:39.029  1148  1380 E Unity   : [FMOD] RuntimeBankModel::openFile : Failed to open file 'file:///android_asset/Master.bank'
08-15 13:06:39.029  1148  1380 E Unity   :
08-15 13:06:39.029  1148  1380 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-15 13:06:39.029  1148  1380 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-15 13:06:39.029  1148  1380 E Unity   :
08-15 13:06:39.029  1148  1380 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-15 13:06:39.029  1148  1380 E Unity   :
08-15 13:06:39.030  1148  1380 E Unity   : [FMOD] ResourceLoader::asyncLoadResourceThread : Failed to load waveform {68d35927-1dc7-45ba-b292-74b4925f8ae5} (error 18)

Are you using split binaries with a separate apk and obb file? The 76 error indicates that the resource isn’t loaded, and the 18 error indicates the file wasn’t found. Perhaps you could try loading the scene and banks asynchronously- we have an example in the scripting docs.

Hey Jeff!
Thanks for the response.

I tried loading the banks asynchronously via the coding example, it works for loading the banks but it did not solve my issue. I’ve added the console messages again, I’m wondering why it’s logging "Could not open 'Master.bank' from the asset manager." I checked the banks with a call to FMODUnity.RuntimeManager.HasBankLoaded(bankName); and they all return true.

08-21 17:35:33.055 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.055 13850 14216 E Unity   :
08-21 17:35:33.055 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.055 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.055 13850 14216 E Unity   :
08-21 17:35:33.055 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.055 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.056 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.056 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.056 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.056 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.056 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.056 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.057 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.057 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.057 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.057 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.057 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.058 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.058 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.058 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : UnityEngine.Logger:Log(LogType, Object)
08-21 17:35:33.058 13850 14216 E Unity   : FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.058 13850 14216 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
08-21 17:35:33.058 13850 14216 E Unity   :
08-21 17:35:33.059 13850 14216 E Unity   : [FMOD] AndroidAssetFile::reallyOpen :     Could not open 'Master.bank' from the asset manager.

I might need a little more context on your setup to figure out what’s going on here. Can you please let me know:

  • Are you using split binaries in Unity’s Android Player Settings?
  • Are you using Streaming Assets or Asset Bundles in the FMOD Integration Settings?
  • In the Build preferences of FMOD Studio, do you have “Build metadata and assets to a single bank” selected or one of the other options?

Thanks for the follow up,

  • We weren’t using split binaries, switching to split binaries in the android player settings appears to have fixed the issue. I can mark this as a solution if I don’t find any issues after some more testing.
  • We are using streaming assets in the FMOD settings
  • In FMOD the current selection is “Build metadata and assets to a single bank”

Glad to hear that’s working. Thanks for confirming your solution!