# Weird issue with MAX\_LISTENERS constant

**URL:** <https://qa.fmod.com/t/weird-issue-with-max-listeners-constant/16745>\
**Category:** Unity\
**Created:** [February 12, 2021, 3:58pm UTC](https://qa.fmod.com/t/weird-issue-with-max-listeners-constant/16745 "2021-02-12T15:58:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaizen](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/kaizen/32/1927_2.png) [@Kaizen](https://qa.fmod.com/u/Kaizen)\
**Post date:** [February 12, 2021, 3:58pm UTC](https://qa.fmod.com/t/weird-issue-with-max-listeners-constant/16745/1 "2021-02-12T15:58:57Z")

</div>

Hi,  
I did post earlier but my post was disabled by the bot (why?)  
I couldn’t make Fmod to work in my project, I add an error: [FMOD] Max number of listeners reached: 8

I tested the integration in a brand new project without any issue.

So I changed the constant (MAX\_LISTENERS in fmod.cs) value to 100 and it worked in my project. I reverted back the constant to 8 and it still work!

I wonder what could have caused this issue and if I should worry about it?  
Unity 2020.2.3f1, Fmod 2.01.05

---

<div class="post-metadata">

**Author:** ![bluegoogames](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/bluegoogames/32/1882_2.png) [@bluegoogames](https://qa.fmod.com/u/bluegoogames)\
**Post date:** [April 23, 2021, 11:09am UTC](https://qa.fmod.com/t/weird-issue-with-max-listeners-constant/16745/2 "2021-04-23T11:09:24Z")

</div>

> [@Kaizen](#):
>
> MAX\_LISTENERS

Yeah I got the exact same issue as your other thread, tried your fix, it worked, then reset it to 8. I guess setting it to 100 shouldn’t be good for performance, but great that it cleared. 🙂

---

<div class="post-metadata">

**Author:** ![Kaizen](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/kaizen/32/1927_2.png) [@Kaizen](https://qa.fmod.com/u/Kaizen)\
**Post date:** [April 23, 2021, 12:59pm UTC](https://qa.fmod.com/t/weird-issue-with-max-listeners-constant/16745/3 "2021-04-23T12:59:59Z")

</div>

> [@bluegoogames](#):
>
> tried your fix, it worked

Glad it worked for you 🙂
