# FMOD for Unity, Event not found C#

**URL:** <https://qa.fmod.com/t/fmod-for-unity-event-not-found-c/19230>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [September 2, 2022, 11:04am UTC](https://qa.fmod.com/t/fmod-for-unity-event-not-found-c/19230 "2022-09-02T11:04:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Camiel](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@Camiel](https://qa.fmod.com/u/Camiel)\
**Post date:** [September 2, 2022, 11:04am UTC](https://qa.fmod.com/t/fmod-for-unity-event-not-found-c/19230/1 "2022-09-02T11:04:06Z")

</div>

Hi,

So I’ve installed FMOD for Unity 2.02.07 and FMOD studio 2.02.07. When I create an FMOD Studio Event Emitter I do get sound and no errors. I’ve got an Fmod listener on the camera.

When trying to play sound through a C# script with

> FMODUnity.RuntimeManager.PlayOneShot(“event:/TestBeep”);

I get an error everytime it should trigger:

> [FMOD] Event not found: event:/TestBeep  
> UnityEngine.Debug:LogWarning (object)

I’ve tried deleting the fmod banks folder but no solution yet. I did see things about the streamingassets folder but I don’t know where this one should be. A full computer search couldn’t find it.

Edit: The FMOD wizard keeps popping up after I reopen a scene too.

Any thoughts?

Thanks in advance!

---

<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:** [September 5, 2022, 1:37am UTC](https://qa.fmod.com/t/fmod-for-unity-event-not-found-c/19230/2 "2022-09-05T01:37:33Z")

</div>

Hi,

A solution may be using `FMODUnity.EventReference`. This allows you to choose the event you want to use from a list. This will ensure the event is available to be played. Also, you won’t have to go into the code if you ever want to change the played event.  
It is used like this:

```auto
///Declaring the Event Reference
public FMODUnity.EventReference eventRef; 

///When you want to play the one shot 
FMODUnity.RuntimeManager.PlayOneShot(eventRef);

```

Streaming Assets is an option for how you want to load the FMOD Banks into your Unity project. For reference, the `StreaminAssets` folder is in your Unity project directory: `Project->Assets->StreamingAssets` after you have built your Unity project at least once. But it will only be there if the Streaming Assets option is selected in the FMOD Unity options here:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/3c219be35185c1030607118b5b4d93cf287a1477.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Camiel](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@Camiel](https://qa.fmod.com/u/Camiel)\
**Post date:** [September 10, 2022, 10:43am UTC](https://qa.fmod.com/t/fmod-for-unity-event-not-found-c/19230/3 "2022-09-10T10:43:55Z")

</div>

Sorry for the late answer… This works even better. Thanks!
