Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Audio is playing despite iOS device being in silent mode

Discussion in 'WebGL' started by gilizeeviSG, Oct 5, 2023.

  1. gilizeeviSG

    gilizeeviSG

    Joined:
    May 12, 2023
    Posts:
    4
    We play audio and sound fx in our game and everything works as expected in the editor and WEBGL builds on browsers and Android. On iOS, the sound plays correctly but does not respect iOS silent mode (switching the ringer to silent).

    Using Unity 2022.3.1f1.
    Screenshot for the audio clip import settings: https://postimg.cc/XZHnS07x

    Any idea whats causing this?
     
  2. gilizeeviSG

    gilizeeviSG

    Joined:
    May 12, 2023
    Posts:
    4
    Disabling the WEBGL import settings and selecting PCM compression and decompress on load seem to solve this issue
     
  3. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    944
  4. FURKANKAHVECI

    FURKANKAHVECI

    Joined:
    May 12, 2013
    Posts:
    25
    iOS 17.0.3 has the same issue, PCM or Vorbis decompress on load didn't solve.
    [Unity 2022.3.10 f1 iOS no sound bug (silent mode)]