# Can't access Fmod+Unity VCA, C#

**URL:** <https://qa.fmod.com/t/cant-access-fmod-unity-vca-c/19439>\
**Category:** FMOD Studio\
**Tags:** unity, csharp\
**Created:** [October 21, 2022, 12:46pm UTC](https://qa.fmod.com/t/cant-access-fmod-unity-vca-c/19439 "2022-10-21T12:46:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![d1msk1y](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@d1msk1y](https://qa.fmod.com/u/d1msk1y)\
**Post date:** [October 21, 2022, 12:46pm UTC](https://qa.fmod.com/t/cant-access-fmod-unity-vca-c/19439/1 "2022-10-21T12:46:33Z")

</div>

Paths I entered:  
vca:/Music  
vca:/SFX  
vca:/Master

Error code:  
VCANotFoundException: [FMOD] VCA not found ‘vca:/SFX’  
FMODUnity.RuntimeManager.GetVCA (System.String path)

Code:  
using UnityEngine;  
using UnityEngine.UI;  
public class VcaController : MonoBehaviour {

```
[SerializeField] private string _vcaPath;

private FMOD.Studio.VCA _vca;
private Slider _volumeSlider;

private void Start() {
	_vca = FMODUnity.RuntimeManager.GetVCA(_vcaPath);
	_volumeSlider = GetComponent<Slider>();
	_volumeSlider.onValueChanged.AddListener(delegate { SetVcaVolume(); });
}

private void SetVcaVolume() => _vca.setVolume(_volumeSlider.value);

```

}

VCAs Tab:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/1/12673fe8f12e4d4e26e65dd868d84736ca71b1ba.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:** [October 24, 2022, 4:07am UTC](https://qa.fmod.com/t/cant-access-fmod-unity-vca-c/19439/2 "2022-10-24T04:07:20Z")

</div>

Hi,

Calling `.getVCA()` in start isn’t giving the FMOD system enough time to initialize properly. All you need to do is add a delay around 1 second and then call the function and it should work.

Hope this helps!
