Loading and Unloading Banks

This is presumably a pretty simple question, but I can’t find any references to it anywhere.

Is it possible via the Unity integration to specifically choose banks to be loaded, and then to subsequently unload them? If so, can anyone point me in the right direction?

The default behavior of the integration is to simply load everything listed in FMOD_bank_list.txt when the FMOD_Listener component gets the OnEnable message.

You could modify this text file, but be warned it is overwritten whenever you import/refresh the banks.

Otherwise you’ll have to remove that load all code from the listener and use the FMOD.Studio.System.loadBank() function yourself.

1 Like

Great, thanks - that was the push in the right direction I needed.