# \[Unity/CoreSystem\] Can not play 2 sounds simultaneously

**URL:** https://qa.fmod.com/t/unity-coresystem-can-not-play-2-sounds-simultaneously/20048
**Category:** Unity
**Created:** [April 1, 2023, 6:35am UTC](https://qa.fmod.com/t/unity-coresystem-can-not-play-2-sounds-simultaneously/20048 "2023-04-01T06:35:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![prunusnira](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/prunusnira/32/1523_2.png) [@prunusnira](https://qa.fmod.com/u/prunusnira)
#### Post date: [April 1, 2023, 6:35am UTC](https://qa.fmod.com/t/unity-coresystem-can-not-play-2-sounds-simultaneously/20048/1 "2023-04-01T06:35:53Z")

</div>

I’m using FMOD 2.01.05 and currently making rhythm game using external files.  
(meaning reading files outside FMOD Studio event, Unity asset path or streaming assets folder)

Here’s code I wrote for managing FMOD and sound play, using as singleton

[Code Here (GitHub Gist)](https://gist.github.com/prunusnira/c95d52d8d270d29474c1511b5868d6c7)

Problem occurs when I play game in play scene.

When I push a button, it plays key sound correctly. But I also want to play clap sound to support players. but when i try to play clap sound along key sound, unity crashes with no error log.

Here’s code for that.

> if (!btnPushSound[line])  
> {  
> SoundControllerFMOD.Instance.PlayKeySound(cnote.Wav, bms, cnote.Line, Const.VolumeKeySound);  
> SoundControllerFMOD.Instance.PlayHitSound(); // → this line makes crash  
> btnPushSound[line] = true;  
> }

Please refer to GitHub Gist link for PlayKeySound() and PlayHitSound() method.  
How can I resolve this problem?

* * *

p.s. I tried to move to 2.02.11, but it does not load key sound files when loading games with my existing logic…  
(you can find it with Gist link, preload~ named methods)  
that’s why i’m staying with 2.01.05

---

<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 3, 2023, 11:35pm UTC](https://qa.fmod.com/t/unity-coresystem-can-not-play-2-sounds-simultaneously/20048/2 "2023-04-03T23:35:43Z")

</div>

Hi,

Thank you for all the information. Would it be possible to upload a copy of the FMOD Studio Project with `Banks` included?  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/33efa8b06f950c651070e1698b117be427ec9760.png)

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/eb0d7be66f8399700a9b0d80ae917fdd14f6e8f0.png)

To upload to your profile, you will have to register the [project](https://fmod.com/profile#projects) with us.  
As well as the Unity Project or a stripped-out version that is experiencing the issue uploaded to your profile? Without being able to step through the code myself I am unsure what the issue is.
