Search Unity

Game paused on ad?

Discussion in 'Unity Ads & User Acquisition' started by QFSW, Apr 13, 2015.

  1. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,906
    Hi all

    Just a quick question, is the game automatically paused when an ad is shown then resumed when completed, or would we have to implement this ourselves?
     
  2. Rasmus Selsmark

    Rasmus Selsmark

    Joined:
    Mar 13, 2013
    Posts:
    120
    Correct, the game is paused when an video ad is shown using UnityAds.

    /Rasmus
     
  3. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,906
    Thats great then

    Thank you :)
     
  4. tripknotix

    tripknotix

    Joined:
    Apr 21, 2011
    Posts:
    744
    Hi, i have an issue with this, when the game pauses, i disconnect the user from all servers, to ensure that they havent minimized/paused the game and are browsing the web while staying in the game server.

    so i have set
    ShowOptions options = new ShowOptions();
    options.pause = false;

    this is in the documentation as an option.

    However you are confirming that this doesnt work. Unfortunately i am showing this at the end of a round and after a certain amount of time. and I am only meaning to show them the ad, and if they choose to leave the game, that is optional, but if they want to stay and close the ad, they are then kicked out of the server.

    This is very bad when a 10 vs 10 first person shooter game is going, after a round i show an ad, and everyone on android devices suddenly gets kicked out of the game.

    Is there any way to implement "not pausing" the app? Chartboost works perfectly fine with not pausing the app.