# getVCA() not finding VCAs

**URL:** <https://qa.fmod.com/t/getvca-not-finding-vcas/17164>\
**Category:** FMOD Engine\
**Tags:** cpp\
**Created:** [May 6, 2021, 5:11pm UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164 "2021-05-06T17:11:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![emptyclip](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@emptyclip](https://qa.fmod.com/u/emptyclip)\
**Post date:** [May 6, 2021, 5:11pm UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164/1 "2021-05-06T17:11:12Z")

</div>

Hey guys,  
I have identical code with identical VCAs in separate projects. Both use v2.00.11. One works fine and then other says the VCAs do not exist.

Is there a way to list out the VCAs at runtime? I’m not seeing it.

Any other idea why this might be happening? Again, different events and assets but categorized exactly the same.

Matt

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [May 7, 2021, 5:00am UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164/2 "2021-05-07T05:00:48Z")

</div>

Have you tried using [Bank::getVCAList](https://fmod.com/resources/documentation-api?version=2.1&page=studio-api-bank.html#studio_bank_getvcalist)() ?

That should allows you to enumerate the VCAs and get an idea of what’s missing.

---

<div class="post-metadata">

**Author:** ![emptyclip](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@emptyclip](https://qa.fmod.com/u/emptyclip)\
**Post date:** [May 7, 2021, 4:47pm UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164/3 "2021-05-07T16:47:13Z")

</div>

Ha, yeah, it’s been one of those weeks, etc. I would also help if I looked at the correct documentation. Things like this really make me question my sanity.

Thanks, Mathew!

---

<div class="post-metadata">

**Author:** ![emptyclip](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@emptyclip](https://qa.fmod.com/u/emptyclip)\
**Post date:** [May 12, 2021, 5:40pm UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164/4 "2021-05-12T17:40:12Z")

</div>

Hey Mathew,  
Ok, related to this I’m trying to use the System object to get the VCAs as they should be global. But, as you pointed out, the listing shows that the VCAs are now in a bank and not somehow linked to the global context.

I am looking for a way to make these global so that I can query them after I load all of the banks and I’m not seeing it in the Studio tool. I referred to the docs but didn’t see any mention of where/how VCAs can be considered global.

Let me know what the probably trivial solution is! 🙂

Matt

---

<div class="post-metadata">

**Author:** ![emptyclip](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@emptyclip](https://qa.fmod.com/u/emptyclip)\
**Post date:** [May 12, 2021, 5:46pm UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164/5 "2021-05-12T17:46:25Z")

</div>

Dangit, this was on the sound designer end, never mind 🙂 Thank you for the quick answer!

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [May 12, 2021, 10:44pm UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164/6 "2021-05-12T22:44:39Z")

</div>

No worries, the VCAs are indeed global, they are just tied to the bank that loaded them. If you need you can iterate the banks to get all the VCAs.

---

<div class="post-metadata">

**Author:** ![emptyclip](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@emptyclip](https://qa.fmod.com/u/emptyclip)\
**Post date:** [May 12, 2021, 10:56pm UTC](https://qa.fmod.com/t/getvca-not-finding-vcas/17164/7 "2021-05-12T22:56:21Z")

</div>

Yes, this is totally working now. It’s also important for everyone to be on the same page in terms of naming, tying groups in there _cough, cough_

Thank you!
