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

Bug Audio is muted when app regains focus

Discussion in 'Android' started by msnz, Oct 4, 2022.

  1. msnz

    msnz

    Joined:
    Nov 4, 2020
    Posts:
    31
    I am facing an audio issue that only seems to occur on Android 12. When an app loses focus (minimized) and is brought back to focus again, the audio no longer plays / becomes muted. I tested the same build on an Android 9 device and did not experience the issue.

    Is anyone else experiencing this? Is there a fix?

    I'm testing on a Samsung A22-5G. Unity version is: 2020.3.35f1
     
  2. Mese

    Mese

    Joined:
    Dec 13, 2015
    Posts:
    37
    Yo! same here!
    Somehow when regaining focus the app is muted.
    We only see this issue on our test Tablet.
    Its seems to only happen on this device, at least for us.
    I've been digging on the logcat with no luck...

    Device: Samsung Galaxy Tab A7 SM-T220 - Android 12
    Unity 2020.3.15f2
     
    Last edited: Oct 17, 2022
  3. msnz

    msnz

    Joined:
    Nov 4, 2020
    Posts:
    31