# FMODUnity.EventReference missing from namespace 'FMODUnity' (v. 2.03)

**URL:** <https://qa.fmod.com/t/fmodunity-eventreference-missing-from-namespace-fmodunity-v-2-03/23183>\
**Category:** Unity\
**Created:** [July 21, 2025, 5:53pm UTC](https://qa.fmod.com/t/fmodunity-eventreference-missing-from-namespace-fmodunity-v-2-03/23183 "2025-07-21T17:53:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimvu](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kimvu](https://qa.fmod.com/u/kimvu)\
**Post date:** [July 21, 2025, 5:53pm UTC](https://qa.fmod.com/t/fmodunity-eventreference-missing-from-namespace-fmodunity-v-2-03/23183/1 "2025-07-21T17:53:44Z")

</div>

Hello,

I know this issue has been raised in earlier versions. I have found a solution, but would like to know, if it really is a solution or whether the documentation for v. 2.03 has not been updated yet.

I tried to serialize a field for my FMOD event path in the Unity Inspector. As described in the current documentation, I used:

```auto
public FMODUnity.EventReference variableName; 

```

I then got the error that FMODUnity.EventReference is missing from FMODUnity (CS0234). I solved that error by using:

```auto
public FMODUnity.EventRef variableName;

```

 ![EventRef](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/280814e1fd4e42f2da980d13e69699d63dbb86f0.jpeg)

It works now, but I’m confused (total beginner here). I can’t find `FMODUnity.EventRef` in the FMOD Unity Scripting documentation on the website. Is that actually the solution?

This is my FMOD Integration version: 2.03.08

Thank you for your help. I might have overlooked something basic; in that case, please excuse my inexperience.

---

<div class="post-metadata">

**Author:** ![li\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/li_fmod/32/6577_2.png) [@li\_fmod](https://qa.fmod.com/u/li_fmod)\
**Post date:** [July 24, 2025, 12:00am UTC](https://qa.fmod.com/t/fmodunity-eventreference-missing-from-namespace-fmodunity-v-2-03/23183/2 "2025-07-24T00:00:26Z")

</div>

Hi,

Thank you for sharing the information!

Could I please confirm the exact version number of the FMOD Unity integration you’re using? You can find the information by navigating to `FMOD => About Integration`.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a00f9ad48e6f5a4aea53e32980f3d466dda8716b.png)

Also, what version of Unity are you currently working with?

> [@kimvu](#):
>
> It works now, but I’m confused (total beginner here). I can’t find `FMODUnity.EventRef` in the FMOD Unity Scripting documentation on the website. Is that actually the solution?

`EventRef` was made obsolete in FMOD 2.02, In **FMOD Unity Integration 2.02 and above** , the correct and fully supported way to reference FMOD events in Unity scripts is:

```auto
public FMODUnity.EventReference eventPath;

```

If you’re still encountering the `CS0234` error when using `EventReference`, could you please double check the following:

- Your FMOD Unity integration is correctly imported.
- You’re using Unity 2020+ (some older versions might have trouble serializing newer structs)
- You haven’t renamed or moved FMOD folders in a way that breaks namespace resolution

---

<div class="post-metadata">

**Author:** ![kimvu](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kimvu](https://qa.fmod.com/u/kimvu)\
**Post date:** [July 24, 2025, 7:50am UTC](https://qa.fmod.com/t/fmodunity-eventreference-missing-from-namespace-fmodunity-v-2-03/23183/3 "2025-07-24T07:50:45Z")

</div>

Hello there! Thanks for getting back to me.

I double checked my FMOD Integration Version. It is 2.03.08

 ![FMOD Integration Version](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/6/6aa8590f54c0760f78c928811a1aa0cffbea4b54.jpeg)

1. I didn’t have any errors when downloading and importing the integration package. Is there any other way I can double check, whether the import was free of errors?

2. My Unity Version: 2022.3.0f1

3. I did not touch the FMOD folders in Unity after the import.

---

<div class="post-metadata">

**Author:** ![li\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/li_fmod/32/6577_2.png) [@li\_fmod](https://qa.fmod.com/u/li_fmod)\
**Post date:** [July 28, 2025, 3:34am UTC](https://qa.fmod.com/t/fmodunity-eventreference-missing-from-namespace-fmodunity-v-2-03/23183/4 "2025-07-28T03:34:42Z")

</div>

Thank you for providing the additional information.

Unfortunately, I was still unable to reproduce the issue on my end using **FMOD 2.03.08** with **Unity 2022.3.0f1**.

> [@kimvu](#):
>
> Is there any other way I can double check, whether the import was free of errors?

Could you please navigate to `Assets > Plugins > FMOD > src` and check if the file **`EventReference.cs`** is present?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/9/9c2a708ecd176f69c2f0d0ca237744e253d57831.png)

If it exists, could you open it and confirm whether the file header looks something like this?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/7aeb418c15fd41e3a1ef0c3c70602927b8e1ef51.png)
