# Sound plays if device in silent mode

**URL:** <https://qa.fmod.com/t/sound-plays-if-device-in-silent-mode/16045>\
**Category:** Unity\
**Tags:** ios, unity\
**Created:** [August 5, 2020, 7:31am UTC](https://qa.fmod.com/t/sound-plays-if-device-in-silent-mode/16045 "2020-08-05T07:31:56Z")\
**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:** [August 5, 2020, 7:31am UTC](https://qa.fmod.com/t/sound-plays-if-device-in-silent-mode/16045/1 "2020-08-05T07:31:56Z")

</div>

After device switching to silent mode (IOS) sound continues to play. How can I fix it or what a problem can this cause?

FMOD 2.00.07 and Unity 2019.4.4f1.

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [August 11, 2020, 5:58am UTC](https://qa.fmod.com/t/sound-plays-if-device-in-silent-mode/16045/2 "2020-08-11T05:58:10Z")

</div>

Hi Demonmal,

With FMOD 2.00.11 and Unity 2019.4.7 I am unable to reproduce this issue.

You may need to check your UnityAppController.mm and ensure that your AVAudioSession sharedInstance category is set to AVAudioSessionCategoryAmbient.
