# Unity Integration: 'FMODEventPlayable' could not be found

**URL:** <https://qa.fmod.com/t/unity-integration-fmodeventplayable-could-not-be-found/17188>\
**Category:** Unity\
**Created:** [May 12, 2021, 9:39am UTC](https://qa.fmod.com/t/unity-integration-fmodeventplayable-could-not-be-found/17188 "2021-05-12T09:39:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giezi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/giezi/32/2235_2.png) [@Giezi](https://qa.fmod.com/u/Giezi)\
**Post date:** [May 12, 2021, 9:39am UTC](https://qa.fmod.com/t/unity-integration-fmodeventplayable-could-not-be-found/17188/1 "2021-05-12T09:39:54Z")

</div>

The error in the title seems to originate from e.g. lines 314 and 316 in `EventReferenceUpdater` (and other lines in the same file):

```
else if (target is FMODEventPlayable)
{
   return GetPlayableUpdateTasks(target as FMODEventPlayable);
}

```

but `FMODEventPlayable` only exists if `#if (UNITY_TIMELINE_EXIST || !UNITY_2019_1_OR_NEWER)` and I don’t have the timeline enabled.

I think this could be fixed by adding the same check here:

```
#if (UNITY_TIMELINE_EXIST || !UNITY_2019_1_OR_NEWER)
            else if (target is FMODEventPlayable)
            {
                return GetPlayableUpdateTasks(target as FMODEventPlayable);
            }
#endif

```

and at the other places in the same file. Unity then seems to compile fine, but I’m not a 100% sure I’m not breaking something.

I am using Unity integration 2.02 with Unity 2021.1.3f1.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 17, 2021, 6:11am UTC](https://qa.fmod.com/t/unity-integration-fmodeventplayable-could-not-be-found/17188/2 "2021-05-17T06:11:34Z")

</div>

Thank you for reporting this, I have added a task to fix this in an upcoming update.
