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.

Question Ads (Unity Ads) pause the multiplayer (Netcode) game and the connection is lost

Discussion in 'Multiplayer' started by ycm-dev, Feb 25, 2023.

  1. ycm-dev


    Mar 9, 2022
    When I use interstitial ads, the ad normally take more time than the refresh time of the multiplayer connection.

    So when the players come back to the game, their games have been "paused" and they have not been sending the heartbeat signal for the connection being refreshed. If it happens to the host, the game is lost.

    How can I make that the paused game during the ad keep sending those refresh heartbeat, or at least other way of fixing it.

    (It also happens if the host is innactive for a while, but I understand that it happens, since the host may have left. But what I don't agree is that it happens with ads).

    Thank you very much!