# Loop sound events stop in case of application hide (Unity Integration)

**URL:** <https://qa.fmod.com/t/loop-sound-events-stop-in-case-of-application-hide-unity-integration/15781>\
**Category:** Unity\
**Created:** [May 18, 2020, 5:34am UTC](https://qa.fmod.com/t/loop-sound-events-stop-in-case-of-application-hide-unity-integration/15781 "2020-05-18T05:34:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Demonmal](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Demonmal](https://qa.fmod.com/u/Demonmal)\
**Post date:** [May 18, 2020, 5:34am UTC](https://qa.fmod.com/t/loop-sound-events-stop-in-case-of-application-hide-unity-integration/15781/1 "2020-05-18T05:34:28Z")

</div>

In my main menu scene I have loop sound event which plays until the player will start the game. And everything is fine when I test it in Unity editor but when I make GP or IOS build I have the following problem: sometimes, if I hide the application in main menu scene and unhide after a while, I don’t hear this event in main menu. The strangest thing that debug shows me that this event is still in playing state, its volume not zero and everything should be fine. In application hide/unhide case I use RuntimeManager.MuteAllEvents(). Please, help me, what could go wrong with sound when app is hided?  
Unity version: 2019.3.0f6  
FMOD version: 2.00.07

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 21, 2020, 4:27am UTC](https://qa.fmod.com/t/loop-sound-events-stop-in-case-of-application-hide-unity-integration/15781/2 "2020-05-21T04:27:38Z")

</div>

You shouldn’t need to call `RuntimeManager.MuteAllEvents()`, the RuntimeManager has code to handle the app going to the background and also interruptions.
