# Timeline callbacks not called

**URL:** https://qa.fmod.com/t/timeline-callbacks-not-called/17543
**Category:** Unity
**Tags:** unity
**Created:** [August 7, 2021, 12:03pm UTC](https://qa.fmod.com/t/timeline-callbacks-not-called/17543 "2021-08-07T12:03:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![GalBenNaim](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@GalBenNaim](https://qa.fmod.com/u/GalBenNaim)
#### Post date: [August 7, 2021, 12:03pm UTC](https://qa.fmod.com/t/timeline-callbacks-not-called/17543/1 "2021-08-07T12:03:44Z")

</div>

Hey!

I want to receive a callback on each beat. I’ve copied the official example to get callbacks from timeline from here:  
[https://www.fmod.com/resources/documentation-unity?version=2.00&page=examples-timeline-callbacks.html](https://www.fmod.com/resources/documentation-unity?version=2.00&page=examples-timeline-callbacks.html)

For some reason though, the callback just not getting called at all. Any suggestions?

P.S Since the EVENT\_CALLBACK signature from the example is no up to date, I’ve fixed it as shown here: [Timeline callback example has wrong signature](https://qa.fmod.com/t/timeline-callback-example-has-wrong-signature/15704)

Using Mac M1, Unity version 2020.3.8

Thanks!

---

<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: [August 9, 2021, 1:48am UTC](https://qa.fmod.com/t/timeline-callbacks-not-called/17543/2 "2021-08-09T01:48:45Z")

</div>

Which version of FMOD are you using? If you are using FMOD 2.00.xx you don’t need to make that modification, and if you are using \> 2.01.00 the [2.01 example](https://www.fmod.com/resources/documentation-unity?version=2.01&page=examples-timeline-callbacks.html) and [2.02 example](https://www.fmod.com/resources/documentation-unity?version=2.02&page=examples-timeline-callbacks.html) have both been corrected.  
The other thing to check is that the event name passed to `FMODUnity.RuntimeManager.CreateInstance` definitely exists. Are you getting any errors in the console?

---

<div class="post-metadata">

### Author: ![GalBenNaim](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@GalBenNaim](https://qa.fmod.com/u/GalBenNaim)
#### Post date: [August 9, 2021, 4:09pm UTC](https://qa.fmod.com/t/timeline-callbacks-not-called/17543/3 "2021-08-09T16:09:45Z")

</div>

@jeff_fmod

Thanks for the fast response!

I’m using version 2.01.09.  
I’ve copied the exact code from example 2.01 and still no luck. The event name definitely exists - I’m passing it from the inspector + debuged it + can hear it playing. 🙂

No errors in the console also. Made sure Start() function is getting called.

I do have 2 Unity listeners that I can’t seem to convert to FMOD listerenrs though, if it’s somehow related.

---

<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: [August 9, 2021, 11:08pm UTC](https://qa.fmod.com/t/timeline-callbacks-not-called/17543/4 "2021-08-09T23:08:55Z")

</div>

In this instance the Unity listeners shouldn’t make a difference- though I’d definitely recommend removing them and adding FMOD Listeners in their place to avoid issues later on.  
The only other thing I can think of is that the event doesn’t have a [tempo marker](https://fmod.com/resources/documentation-studio?version=2.01&page=glossary.html#tempo-marker). Perhaps try loading the “Examples” project that ships with FMOD Studio in the Unity FMOD Settings and see if you can get callbacks with one of the events in the “Music” subfolder.
