# RuntimeManager.GetVCA and setVolume mutes all audio

**URL:** https://qa.fmod.com/t/runtimemanager-getvca-and-setvolume-mutes-all-audio/18053
**Category:** Unity
**Created:** [December 6, 2021, 7:32pm UTC](https://qa.fmod.com/t/runtimemanager-getvca-and-setvolume-mutes-all-audio/18053 "2021-12-06T19:32:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![neok1993](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@neok1993](https://qa.fmod.com/u/neok1993)
#### Post date: [December 6, 2021, 7:32pm UTC](https://qa.fmod.com/t/runtimemanager-getvca-and-setvolume-mutes-all-audio/18053/1 "2021-12-06T19:32:36Z")

</div>

Hello,

In Unity and FMOD I try to set the audio of the VCAs.  
However when I do GetVCA and then a setVolume all the audio in the game goes silent.  
What can cause this?

I am using Fmod 2.01.5, I dont know if an update might fix it.

---

<div class="post-metadata">

### Author: ![neok1993](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@neok1993](https://qa.fmod.com/u/neok1993)
#### Post date: [December 7, 2021, 4:40pm UTC](https://qa.fmod.com/t/runtimemanager-getvca-and-setvolume-mutes-all-audio/18053/2 "2021-12-07T16:40:05Z")

</div>

After some testing I figured out this only happens in the unity callback OnEnable on a scriptable object.

If I try to access FMOD in an OnEnable callback on a scripatble object FMOD crashes, even if I check if FMOD is valid.

Is it allowed to call FMOD in this case? Or do I have to wait for something or some callback? Is there a way to force FMOD to start?

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [December 13, 2021, 4:42am UTC](https://qa.fmod.com/t/runtimemanager-getvca-and-setvolume-mutes-all-audio/18053/3 "2021-12-13T04:42:20Z")

</div>

I have reproduced this behavior as you’ve described. That said, I do not see why you would need to call FMOD from a scriptable object; if you are trying to set the VCA value from data stored in a scriptable object then you ought to access that data from a MonoBehaviour class and call setVolume from there. Or is there something else you are trying to achieve?
