# Help me! One event didn't play all layers at the same time in Unity.

**URL:** https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326
**Category:** Unity
**Created:** [February 23, 2016, 11:04am UTC](https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326 "2016-02-23T11:04:23Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![adriansantos](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@adriansantos](https://qa.fmod.com/u/adriansantos)
#### Post date: [February 23, 2016, 11:04am UTC](https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326/1 "2016-02-23T11:04:23Z")

</div>

I created a event with Single and Multi Sounds, Scatterer Sound and Events within events.  
When I hear the project in Fmod Studio, works fine. But, when I played the event in Unity, the sound have a big delay, and I hear the layers played separately. Should play all at the same time.  
Someone knows how can fix this?  
Also, I tried put one AHDSR:Volume with 1 sec of Attack in all tracks, and it continued the same. But this is not the solution!  
Best regards.

---

<div class="post-metadata">

### Author: ![nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nick1](https://qa.fmod.com/u/nick1)
#### Post date: [February 24, 2016, 5:04am UTC](https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326/2 "2016-02-24T05:04:14Z")

</div>

> [@](#):
>
> I created a event with Single and Multi Sounds, Scatterer Sound and Events within events.  
> When I hear the project in Fmod Studio, works fine. But, when I played the event in Unity, the sound have a big delay, and I hear the layers played separately. Should play all at the same time.  
> Someone knows how can fix this?  
> Also, I tried put one AHDSR:Volume with 1 sec of Attack in all tracks, and it continued the same. But this is not the solution!  
> Best regards.

Are the any of the layers streaming?

---

<div class="post-metadata">

### Author: ![adriansantos](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@adriansantos](https://qa.fmod.com/u/adriansantos)
#### Post date: [February 24, 2016, 11:41am UTC](https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326/3 "2016-02-24T11:41:18Z")

</div>

Thanks Nicholas. I think that we found the answer.  
Unity needs time to load the build. After being loaded, the sound plays as wanted.  
I will check the streaming. I want to see if the process is faster and the memory decreases.

---

<div class="post-metadata">

### Author: ![Tomavatars](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tomavatars/32/49_2.png) [@Tomavatars](https://qa.fmod.com/u/Tomavatars)
#### Post date: [March 4, 2016, 5:20pm UTC](https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326/4 "2016-03-04T17:20:31Z")

</div>

Help. I have the same problem.

I made a music event. One track with a normal sound and another with a nested event.  
When begin play, the nested event play first then the other track so it is not synchronized.  
I tried to add tempo to both, quantize, but nothing worked.

---

<div class="post-metadata">

### Author: ![Tomavatars](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tomavatars/32/49_2.png) [@Tomavatars](https://qa.fmod.com/u/Tomavatars)
#### Post date: [March 4, 2016, 5:26pm UTC](https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326/5 "2016-03-04T17:26:24Z")

</div>

> [@](#):
>
> Help. I have the same problem.
> 
> I made a music event. One track with a normal sound and another with a nested event.  
> When begin play, the nested event play first then the other track so it is not synchronized.  
> I tried to add tempo to both, quantize, but nothing worked.

I tried a few things.  
When I leave some space between the beginning of the event and the sound sources, it is well synced.  
If I play the sounds at the beginning of the event, it is not synced anymore.

---

<div class="post-metadata">

### Author: ![nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nick1](https://qa.fmod.com/u/nick1)
#### Post date: [March 8, 2016, 6:58am UTC](https://qa.fmod.com/t/help-me-one-event-didnt-play-all-layers-at-the-same-time-in-unity/12326/6 "2016-03-08T06:58:43Z")

</div>

This is fixed in the Studio Runtime 1.08.

You can emulate the behavior in previous runtimes using the following Unity script [https://gist.github.com/fmod-nick/fac92c4c762c54bbc6f2](https://gist.github.com/fmod-nick/fac92c4c762c54bbc6f2)
