# Never loaded any banks yet audio works

**URL:** https://qa.fmod.com/t/never-loaded-any-banks-yet-audio-works/21198
**Category:** Unity
**Created:** [February 3, 2024, 10:48am UTC](https://qa.fmod.com/t/never-loaded-any-banks-yet-audio-works/21198 "2024-02-03T10:48:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![VaughanSampson](https://avatars.discourse-cdn.com/v4/letter/v/eb9ed0/32.png) [@VaughanSampson](https://qa.fmod.com/u/VaughanSampson)
#### Post date: [February 3, 2024, 10:48am UTC](https://qa.fmod.com/t/never-loaded-any-banks-yet-audio-works/21198/1 "2024-02-03T10:48:21Z")

</div>

Hello. I’m testing FMOD in Unity and to my surprise playing one shots has worked even though I haven’t loaded any banks. Is this unusual or intended behaviour? I’m quite confused as I thought you had to load any bank you were to play from.

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [February 5, 2024, 2:02am UTC](https://qa.fmod.com/t/never-loaded-any-banks-yet-audio-works/21198/2 "2024-02-05T02:02:27Z")

</div>

By default, FMOD for Unity will automatically load all banks when playing, or when the editor enters play mode. You can disable this, or only load specific banks, from the [Initialization section](https://www.fmod.com/docs/2.02/unity/settings.html#initialization) of the plugin’s settings menu at FMOD → Edit Settings → Initialization.

If this is disabled, you will indeed have to load the desired banks at runtime - the plugin comes with the [Studio Bank Loader component](https://www.fmod.com/docs/2.02/unity/game-components.html#studio-bank-loader) to do this, but you can also load them yourself from your own code using [`RuntimeManager.LoadBank()`](https://www.fmod.com/docs/2.02/unity/api-runtimemanager.html#loadbank).

---

<div class="post-metadata">

### Author: ![VaughanSampson](https://avatars.discourse-cdn.com/v4/letter/v/eb9ed0/32.png) [@VaughanSampson](https://qa.fmod.com/u/VaughanSampson)
#### Post date: [February 5, 2024, 2:21am UTC](https://qa.fmod.com/t/never-loaded-any-banks-yet-audio-works/21198/3 "2024-02-05T02:21:33Z")

</div>

Hello. Thank you for your response.

Is it recommended to disable the initialization setting for a large game? How much memory could you expect it to take up if we always have all banks loaded?

I’m not very aware in general how sounds interact with RAM during runtime. I assumed they would always be partially recalled from hard disk but I guess that would cause a lot of general latency.

Does loaded mean that all sounds in all events of the given bank are completely stored in RAM? Like if I have a 2 megabyte sound file as an asset used in an event, would I expect that to take up 2 megabytes of ram if its bank is loaded in? Or does loaded in mean something else?

Thank you for any explanations.

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [February 6, 2024, 1:33am UTC](https://qa.fmod.com/t/never-loaded-any-banks-yet-audio-works/21198/4 "2024-02-06T01:33:07Z")

</div>

> [@VaughanSampson](#):
>
> Is it recommended to disable the initialization setting for a large game? How much memory could you expect it to take up if we always have all banks loaded?

I can’t make any explicit recommendations as I’m unfamiliar with your game, but it will depend on the scale of your game and any memory limitations you may have. You can view the current and max memory consumption with the [Debug Overlay](https://www.fmod.com/docs/2.02/unity/settings.html#debug-overlay) included with FMOD for Unity. If you want to retrieve this information directly from the API, you can use [`Studio::System::getMemoryUsage`](https://www.fmod.com/docs/2.02/api/studio-api-system.html#studio_system_getmemoryusage), which when using the plugin you would call with `FMODUnity.RuntimeManager.StudioSystem.getMemoryUsage()`.

On your point about how FMOD interacts with memory at runtime, I would first recommend reading over the [Studio API Guide section on Bank Layout](https://www.fmod.com/docs/2.02/api/studio-guide.html#bank-layout), and the subsequent sections about Bank Loading, Bank Unload, and Sample Data Loading. Let me know if you have any further questions after that.

---

<div class="post-metadata">

### Author: ![VaughanSampson](https://avatars.discourse-cdn.com/v4/letter/v/eb9ed0/32.png) [@VaughanSampson](https://qa.fmod.com/u/VaughanSampson)
#### Post date: [February 6, 2024, 1:44am UTC](https://qa.fmod.com/t/never-loaded-any-banks-yet-audio-works/21198/5 "2024-02-06T01:44:48Z")

</div>

Thank you.
