Ads Remove Sound Effects From Game

Discussion in 'Technical Discussion' started by SeaCake, Dec 28, 2020.

  1. SeaCake

    SeaCake Boxer

    Joined:
    May 20, 2020
    Messages:
    4
    Likes Received:
    1
    Hello

    I have 4 apps already on the Apple Store made from Buildbox.

    I have found a new issue with all 4 of them. When an ad pops up, after you are finished with it, all sound effects from the game are removed. Only the background music resumes. If you exit the app and restart it the sounds return. It's not a game breaking bug, but it is an inconvenience to the player.

    I am running IronSource ads.

    There was nothing wrong with these apps before, so I cannot work out the root cause of this. Is it an iOS issue? What is odd is this bug is only happening with the Buildbox made apps. Apps I have not made via Buildbox don't have this sound bug.
     
  2. SeaCake

    SeaCake Boxer

    Joined:
    May 20, 2020
    Messages:
    4
    Likes Received:
    1
    Bump

    So I have found the source of the error. It's in XCode.

    Looking at the debugger, after the ad finishes, I get this line.

    E/AudioPlayer (217): bool cocos2d::experimental::AudioPlayer: Play2d():alSourcePlay error code:a003

    What's interesting is that if the ad is a static ad, then there is no problem. It's the video and demo ads that cause this bug. I have updated to the latest cocos2d but the bug is still there.
     
  3. BonifaceAidan

    BonifaceAidan Boxer

    Joined:
    Jan 18, 2021
    Messages:
    1
    Likes Received:
    0
    I played the game and lost the sound when logging in.
     
  4. EpikArts

    EpikArts Boxer

    Joined:
    Jan 23, 2021
    Messages:
    2
    Likes Received:
    3
    Up
    Having the exact same issue on some of the iPhone versions with Admob rewarded video ads.
     

Share This Page