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:
    10
    Likes Received:
    5
    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:
    10
    Likes Received:
    5
    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:
    14
    Likes Received:
    11
    Up
    Having the exact same issue on some of the iPhone versions with Admob rewarded video ads.
     
  5. SeaCake

    SeaCake Boxer

    Joined:
    May 20, 2020
    Messages:
    10
    Likes Received:
    5
    Bump.

    This is the error in XCode from the debugger that causes the sfx bug. It's still happening in version 3.3.11.

    XCode AudioPlayer Cocos2d Bug.jpg
     
    Codifie and EpikArts like this.
  6. iamrichgames

    iamrichgames Boxer

    Joined:
    Sep 29, 2017
    Messages:
    13
    Likes Received:
    7
    Hello. I found the same problem. Have you solved the problem? Buildbox thinks you need to solve this problem.
     
  7. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    614
    Likes Received:
    362
    Still happening on latest 3.4.2 Buildbox release
     
  8. tributorock

    tributorock Avid Boxer

    Joined:
    Feb 6, 2016
    Messages:
    223
    Likes Received:
    61
    I have the same problem. I tested with Custom ADS and also with ADBOX, After ads show up, no sound, just the music
     
    ZAMAXT, Vlad-NY and Taxus baccata like this.
  9. ZAMAXT

    ZAMAXT Boxer

    Joined:
    Jun 25, 2018
    Messages:
    17
    Likes Received:
    5
  10. Sean Buildbox

    Sean Buildbox Serious Boxer

    Joined:
    Sep 24, 2015
    Messages:
    902
    Likes Received:
    1,076
    We're aware of this issue, unfortunately the fix is fairly involved. It is still in progress and a priority for us however. We appreciate your patience
     
    Hue Buildbox and ZAMAXT like this.
  11. ZAMAXT

    ZAMAXT Boxer

    Joined:
    Jun 25, 2018
    Messages:
    17
    Likes Received:
    5
    Thanks for the update
     
    Hue Buildbox and Sean Buildbox like this.
  12. Jollydo

    Jollydo Boxer

    Joined:
    Aug 21, 2017
    Messages:
    89
    Likes Received:
    38
  13. Sean Buildbox

    Sean Buildbox Serious Boxer

    Joined:
    Sep 24, 2015
    Messages:
    902
    Likes Received:
    1,076
    Not yet but planned for this quarter with a large engine update
     
    viking and Hue Buildbox like this.
  14. Moaula

    Moaula Boxer

    Joined:
    Jul 20, 2022
    Messages:
    11
    Likes Received:
    0
    @Sean Buildbox The issue is sill here, and we are past 2 quarter, are this planned for 3 or 4 quarter?
     
  15. giorgi

    giorgi Boxer

    Joined:
    Jun 18, 2019
    Messages:
    9
    Likes Received:
    1
    still no update?
     

Share This Page