Search Unity

Resolved Unity Matchmaker loses Players when connecting to a server

Discussion in 'Dedicated Server' started by burgerandfries43, May 1, 2023.

  1. burgerandfries43

    burgerandfries43

    Joined:
    Jan 23, 2021
    Posts:
    8
    upload_2023-4-30_19-9-54.png It also seems to fail a lot when the ticket is trying to find a match
     
    Last edited: May 1, 2023
  2. lucy-unity

    lucy-unity

    Unity Technologies

    Joined:
    Apr 7, 2021
    Posts:
    18
    Hi! When a match is found and connection info (IP and port) is available on the matchmaking ticket, this connection info should be shared in the lobby data so that all other players in the lobby can use it to connect themselves to the dedicated game server. Otherwise, only the player who created the ticket will have the connection info.

    When you say that it seems to fail a lot, is the ticket being timed out?
     
  3. burgerandfries43

    burgerandfries43

    Joined:
    Jan 23, 2021
    Posts:
    8
    Thank you for the solution it works well but the failing issue persists. Not timeout it says failed this is the message I was able to get.
    Failed to get ticket status. Error: MultiplayAllocationError: request error: maximum capacity reached (1) (request-id: da792da0-1934-491b-982e-99133a568eaa)

    This happens 3/4 time about
     
  4. lucy-unity

    lucy-unity

    Unity Technologies

    Joined:
    Apr 7, 2021
    Posts:
    18
    Please check your Game Server Hosting (Multiplay) fleet! Under scaling settings, you can increase the max capacity of the fleet. If the intention is to just have one server, make sure that you are properly deallocating the server when a match ends.
     
  5. burgerandfries43

    burgerandfries43

    Joined:
    Jan 23, 2021
    Posts:
    8
    Will do thank you!