# How can I get all of banks list and event list at runtime?

**URL:** <https://qa.fmod.com/t/how-can-i-get-all-of-banks-list-and-event-list-at-runtime/20474>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [July 27, 2023, 12:26pm UTC](https://qa.fmod.com/t/how-can-i-get-all-of-banks-list-and-event-list-at-runtime/20474 "2023-07-27T12:26:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [August 1, 2023, 5:33am UTC](https://qa.fmod.com/t/how-can-i-get-all-of-banks-list-and-event-list-at-runtime/20474/6 "2023-08-01T05:33:46Z")

</div>

> [@MisakaCirno](#):
>
> To save memory, I want to load only the necessary .bank files.

If you weren’t aware, banks consist of metadata (mixer and event structure, etc.) and sample data (your source audio). When loading a bank, unless you manually choose to load the sample data, only the metadata is loaded. Instead, when you create an Event Instance, FMOD will load the sample data on demand. As a result, it’s unlikely that you need to be concerned about banks taking up too much memory - I would recommend assigning your events to banks appropriately so you know which banks to load ahead of time for a given section of your Unity project.

For more information, I would recommend giving the following thread a read: [Is it possible to load a Bank from an EventInstance or EventReference?](https://qa.fmod.com/t/is-it-possible-to-load-a-bank-from-an-eventinstance-or-eventreference/20389)

As well as taking a look at the [Sample Data Loading section of the Studio API guide](https://fmod.com/docs/2.02/api/studio-guide.html#sample-data-loading).

---

_[View the full topic](https://qa.fmod.com/t/how-can-i-get-all-of-banks-list-and-event-list-at-runtime/20474)._
