Search Unity

Question Detecting In-Queue Player Quits Game

Discussion in 'Matchmaker' started by bduckstudios, Dec 14, 2023.

  1. bduckstudios

    bduckstudios

    Joined:
    Jan 25, 2023
    Posts:
    10
    In VR headsets that are several scenarios where the player just leaves the headset or turns off the device,
    and no unity callback is called (and even when it does, it is not able to complete Ticket Deletion HTTP request).
    Is there a way from server-side (Unity services) to ping the player for user presence and if the player isn't responding delete his ticket?
    I am having too many scenarios where the players ended up going on a match with no one on the other side due to tickets not being deleted when they must...

    Thanks!
     
  2. ArthurAtUnity

    ArthurAtUnity

    Unity Technologies

    Joined:
    Aug 9, 2022
    Posts:
    9
    Hi bduckstudios,
    Thanks for raising this issue !

    We unfortunately do not currently have this kind of checks server-side. You could mitigate this issue by using Matchmaker's backfill and making sure to remove the players from the backfill ticket if they never joined the server after a timeout period (meaning they were assigned this server but probably disconnected before actually joining it).