# Setted max instance = 1, but when i play a instance multi time at short time the sound still be silent

**URL:** <https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500>\
**Category:** Unreal Engine\
**Created:** [April 15, 2024, 3:26am UTC](https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500 "2024-04-15T03:26:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmaiKana](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@AmaiKana](https://qa.fmod.com/u/AmaiKana)\
**Post date:** [April 15, 2024, 3:26am UTC](https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500/1 "2024-04-15T03:26:04Z")

</div>

I’m using unreal engine to make a rhythm game, which need to play many sound at a short time, so I set Max Instance to 1 and Stealing to the oldest, but when many sound was played the sound will be silent, it seems the sound playing over-limit

---

<div class="post-metadata">

**Author:** ![AmaiKana](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@AmaiKana](https://qa.fmod.com/u/AmaiKana)\
**Post date:** [April 15, 2024, 3:27am UTC](https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500/2 "2024-04-15T03:27:24Z")

</div>

For example, when I play a sound named “Answer” 10 times in 1 second, all “Answer” will be silent, and if I play it at 2 times, the volume will be higher then 1 time

---

<div class="post-metadata">

**Author:** ![AmaiKana](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@AmaiKana](https://qa.fmod.com/u/AmaiKana)\
**Post date:** [April 15, 2024, 3:28am UTC](https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500/3 "2024-04-15T03:28:51Z")

</div>

Here is my code:  
In load process:  
UFMODBlueprintStatics::LoadBank(Cast(LoadObject(nullptr, TEXT(“/Script/FMODStudio.FMODBank’/Game/FMOD/Banks/Master.Master’”))), true, true);  
System-\>Gameplay\_Sound\_Event\_Music = UFMODBlueprintStatics::PlayEvent2D(GWorld, Cast(LoadObject(nullptr, TEXT(“/Script/FMODStudio.FMODEvent’/Game/FMOD/Events/Music0000.Music0000’”))), false);  
System-\>Gameplay\_Sound\_SE\_Answer = UFMODBlueprintStatics::PlayEvent2D(GWorld, Cast(LoadObject(nullptr, TEXT(“/Script/FMODStudio.FMODEvent’/Game/FMOD/Events/Answer.Answer’”))), false);

Play:  
System-\>Gameplay\_Sound\_SE\_Answer.Instance-\>start();

I don’t know if the code is wrong

---

<div class="post-metadata">

**Author:** ![AmaiKana](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@AmaiKana](https://qa.fmod.com/u/AmaiKana)\
**Post date:** [April 15, 2024, 3:38am UTC](https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500/5 "2024-04-15T03:38:31Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/1/176bc273be0547c5ada7b6464341765404e3ce6a.png)  
the event is like this, i forgot it

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [April 17, 2024, 12:36am UTC](https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500/6 "2024-04-17T00:36:48Z")

</div>

Hi,

What version of the FMOD integration are you using?

Where are you applying the instance limiting? From the screenshot I can see it is not limiting the event:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/5/5c2d6d8e5deb635864134df2fb211f5456e1c23a.png)  
Is the limiting applied on the group bus?

Would it be possible to get the full script you are using? The snippet is a bit confusing how it is retrieving the event and then how it is playing it.

Could you please collect a [profiler capture](https://fmod.com/docs/2.02/studio/profiling.html) while reproducing this issue in the game, then [package your profiler session](https://fmod.com/docs/2.02/studio/profiling.html) including banks (ticking the “Banks” option when exporting), and upload it to your [FMOD Profile](https://fmod.com/profile#uploads)?

---

<div class="post-metadata">

**Author:** ![AmaiKana](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@AmaiKana](https://qa.fmod.com/u/AmaiKana)\
**Post date:** [April 17, 2024, 1:00am UTC](https://qa.fmod.com/t/setted-max-instance-1-but-when-i-play-a-instance-multi-time-at-short-time-the-sound-still-be-silent/21500/7 "2024-04-17T01:00:08Z")

</div>

Sorry, from this screenshot I did not limit it,but I limited it before and the result is same.

I already found the solution, when I use Timeline instead of Action, it just works well.

Thank you so much to help me.
