Search Unity

Android completely MUTE after unity ads is show

Discussion in 'Unity Ads & User Acquisition' started by nam-duong-887, Apr 16, 2016.

  1. LostShepherd

    LostShepherd

    Joined:
    May 31, 2019
    Posts:
    38
    Yes I ended up having to crack a walnut with a sledgehammer I'm afraid and run this code after each ad to prevent the issue ~

    AudioSettings.Reset(AudioSettings.GetConfiguration());
     
  2. cihadturhan_unity

    cihadturhan_unity

    Joined:
    Apr 19, 2021
    Posts:
    66
    Did it work?
     
  3. LostShepherd

    LostShepherd

    Joined:
    May 31, 2019
    Posts:
    38
    Yes it works, in my BBalanced android game you can see the effect though as it causes a slight delay after each ad plays. For most of the devices I tested on there was no sound issue at all but I had to include this fix for the random edge case device e.g. my Samsung Tab.
     
  4. cihadturhan_unity

    cihadturhan_unity

    Joined:
    Apr 19, 2021
    Posts:
    66
    Thank you very much for the response. For now, I don't have any complains but when I do, I guess I'll try this solution.
     
    LostShepherd likes this.