FMOD WebGL Loading Banks

I am making a webgl game and loading in the master bank(my only bank) takes a while (its 5mb).

Is there a way to load in the master bank before my game starts?

If i wanted to have audio for my opening screen, it would likely give an error: bank not loaded yet.

It might be preferable in this situation to have the master bank empty and to have separate banks for different tasks (eg. main menu, game, etc.). That way you can quickly load smaller master bank plus the bank you need for the start of the game.

It’s interesting you are getting bank not loaded yet, as Studio::System::loadBankFile() is blocking by default. Could you post some code on how you’re loading the master bank?


I normally have a menu scene and use the StartGame() method called from a button to load the main game scene with the following script on a gameobject. If the menu screen has music or sounds then i would place a blank scene before the menu scene and have similar code a transition to the menu scene. This code loops until the bank has loaded.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class Actions : MonoBehaviour
public void StartGame()


IEnumerator ChangeScene(int buildID)
    yield return new WaitForSeconds(1);

    if (FMODUnity.RuntimeManager.HasBankLoaded("Master"))

        Debug.Log("Master bank not loaded looping");



There is some documentation @

I see. In that case, it seems like everything is working as expected, but if you wanted the game to load faster it would be best to create multiple smaller banks for dedicated purposes and keep the master bank empty. This way you can have the main menu or beginning of the game load up quickly, without needing to wait for the entire audio solution to load (such as late game assets).