# Music is stopped abruptly when a lot of events are playing at the same time

**URL:** <https://qa.fmod.com/t/music-is-stopped-abruptly-when-a-lot-of-events-are-playing-at-the-same-time/18037>\
**Category:** Unity\
**Tags:** unity\
**Created:** [November 30, 2021, 3:24pm UTC](https://qa.fmod.com/t/music-is-stopped-abruptly-when-a-lot-of-events-are-playing-at-the-same-time/18037 "2021-11-30T15:24:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.gonzalez](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@daniel.gonzalez](https://qa.fmod.com/u/daniel.gonzalez)\
**Post date:** [November 30, 2021, 3:24pm UTC](https://qa.fmod.com/t/music-is-stopped-abruptly-when-a-lot-of-events-are-playing-at-the-same-time/18037/1 "2021-11-30T15:24:00Z")

</div>

Hello everyone!

We have suffered this issue since the beginning of the development, which is that the music loop randomly stops when a lot of audio events are being played at the same time (many players collide between them, causing a lot of voices, etc). Several times we have highly reduced the repro rate of this issue avoiding playing audio events on code side (for example checking distances with the AudioListener to avoid playing events far away, checking cooldows, etc…), but this always comes back when we add new sound events. Right now we are suffering this quite a lot.

I attach our FMODStudioSettings configuration as context (Windows platform). Also, we have the music priority set as highest (and no other audio events have this priority):  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/ce45f333c0075c0952c760497601ba5160774c6c.png)

Any idea of what’s going on and how can we finally fix this?

Cheers,

Daniel González

---

<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:** [December 1, 2021, 4:26am UTC](https://qa.fmod.com/t/music-is-stopped-abruptly-when-a-lot-of-events-are-playing-at-the-same-time/18037/2 "2021-12-01T04:26:11Z")

</div>

Sounds like there’s still some virtualization going on somewhere. Can you please check that your Master group, and any groups your music event is assigned to, have a Max Instances value of ∞?

---

<div class="post-metadata">

**Author:** ![daniel.gonzalez](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@daniel.gonzalez](https://qa.fmod.com/u/daniel.gonzalez)\
**Post date:** [February 1, 2022, 3:05pm UTC](https://qa.fmod.com/t/music-is-stopped-abruptly-when-a-lot-of-events-are-playing-at-the-same-time/18037/3 "2022-02-01T15:05:45Z")

</div>

Hello!

Yep, this was the issue. Thank you very much!
