# How To Get GUIDs From Banks Using Unity

**URL:** <https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [February 5, 2024, 7:38pm UTC](https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205 "2024-02-05T19:38:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiet](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kiet](https://qa.fmod.com/u/kiet)\
**Post date:** [February 5, 2024, 7:38pm UTC](https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205/1 "2024-02-05T19:38:32Z")

</div>

Hello! I’ve been working with FMOD Studio for a month, but I only started working with Unity the other day. I’m an absolute beginner at Unity, and I don’t really understand much about its functionality. But I would be very interested to know if it is possible to get a list of all events and GUIDs from my .bank files (including Main bus)? If possible, please describe specifically how to do this.

And I would also be interested to know if it is possible to use Unity to get the GUIDs of an existing .bank flies that were created by other people?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 6, 2024, 1:57am UTC](https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205/2 "2024-02-06T01:57:05Z")

</div>

Hi,

Yes, it is possible.

1. Get a list of all the banks from the Studio System: [Studio::System::getBankList](https://fmod.com/docs/2.02/api/studio-api-system.html#studio_system_getbanklist)
2. Each bank can retrieve a list of all its events: [Studio:;Bank;:getEventList](https://fmod.com/docs/2.02/api/studio-api-bank.html#studio_bank_geteventlist)
3. From the [Event Description](https://fmod.com/docs/2.02/api/studio-api-eventdescription.html) you can get the GUID: [Studio::EventDescription::getID](https://fmod.com/docs/2.02/api/studio-api-eventdescription.html).

I have attached a script I made to retrieve all the GUIDS, but I recommend looking through the API to understand better what is happening.  
[GetGuidsFromBanks.txt](https://qa.fmod.com/uploads/short-url/57jcSfCxI74MLsJlsT7EW9LJcdb.txt) (1.6 KB)

> [@kiet](#):
>
> And I would also be interested to know if it is possible to use Unity to get the GUIDs of an existing .bank flies that were created by other people?

If you have access to the bank and [load it with your FMOD Studio system](https://fmod.com/docs/2.02/unity/game-components.html#studio-bank-loader) then you can use steps `2-3` to retrieve the GUIDS.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![kiet](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kiet](https://qa.fmod.com/u/kiet)\
**Post date:** [February 6, 2024, 5:38am UTC](https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205/3 "2024-02-06T05:38:29Z")

</div>

Thanks, it definitely helped. But I have another question. I was able to open .bank files in Unity, but there is this button associated with FMOD Studio. Its description says that I can open and watch a certain event in FMOD Studio. But when pressed, the button does nothing. Am I doing everything right? Is it possible to open all these events from the .bank files in a new .fspro file?

 ![file](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/0/0e6789b2baaaeb236735979045720e603abd47cd.png)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 6, 2024, 9:38pm UTC](https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205/4 "2024-02-06T21:38:58Z")

</div>

Hi,

What window do you have open in the screenshot? Is it the [Event Browser](https://fmod.com/docs/2.02/unity/event-browser.html)?

Are you seeing any logs in the console when trying to play the event?

> [@kiet](#):
>
> Is it possible to open all these events from the .bank files in a new .fspro file?

No, you can only use the banks to play their events. They can’t be added to a Studio project to edit their events.

---

<div class="post-metadata">

**Author:** ![kiet](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kiet](https://qa.fmod.com/u/kiet)\
**Post date:** [February 16, 2024, 6:37pm UTC](https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205/5 "2024-02-16T18:37:18Z")

</div>

Hello again! I apologize for such frequent questions, but is there any way to get the GUIDs of all objects as such in FMOD Stuido or .bank in Unity? Including bus, banks and folders

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 19, 2024, 3:57am UTC](https://qa.fmod.com/t/how-to-get-guids-from-banks-using-unity/21205/6 "2024-02-19T03:57:39Z")

</div>

Hi,

You can get [Bank](https://fmod.com/docs/2.02/api/studio-api-bank.html#studio_bank_getid), [Bus](https://fmod.com/docs/2.02/api/studio-api-bus.html#studio_bus_getid), [Event](https://fmod.com/docs/2.02/api/studio-api-eventdescription.html#studio_eventdescription_getid) and [VCA](https://fmod.com/docs/2.02/api/studio-api-vca.html#studio_vca_getid) GUIDs. However, folders do not have GUIDS.

Hope this helps!
