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.
  2. Dismiss Notice

Resolved How should I configure the queue to work with QoS?

Discussion in 'Matchmaker' started by spikyworm5, Apr 27, 2023.

  1. spikyworm5

    spikyworm5

    Joined:
    Jul 13, 2020
    Posts:
    31
    Hello,

    I would like to implement matchmaking using QoS results. So far, I managed to collect the QoS results and attach them to the matchmaking ticket. However, I'm not sure how I should define the queue/pool since each pool needs to have a specific fleet. Right now I have queue with one pool which is assigned to one region/fleet

    How should the queue be configured? Should I have two pools in the queue? If so, the second pool must a filter. Which filter should I set?

    Thanks in advance,
    Maor
     
  2. guillaumedUnity

    guillaumedUnity

    Unity Technologies

    Joined:
    Apr 1, 2021
    Posts:
    33
    Hi ! As long as the ticket contains the QoS result for your fleet, matchmaker will allocate the server in the best region for the match.
    The default QoS region is only used when there is no QoS result provided on the ticket
     
  3. spikyworm5

    spikyworm5

    Joined:
    Jul 13, 2020
    Posts:
    31
    Thanks for the quick reply.

    Just to make sure, I'm sending all QoS results I got and not just the best one, right?
    For example, if I have two fleets, I'm sending the two results for those fleets, not the one with lowest latency.
     
  4. spikyworm5

    spikyworm5

    Joined:
    Jul 13, 2020
    Posts:
    31
    And one more question please. I'm trying to force my client to connect to NorthAmerica region but I keep getting the following error:
    MultiplayAllocationError: request error: unknown regionid: fa566caa-4f92-4d00-b598-0931298099ae

    I "forced" it by getting real result and replace the latency of the north america fleet to some low value.

    I assume this is the region ID of NorthAmerica. Test allocation works fine.
     
  5. spikyworm5

    spikyworm5

    Joined:
    Jul 13, 2020
    Posts:
    31
    Solved. Found my confusion. I created another fleet for NorthAmerica instead of adding a region to my existing fleet. Everything works well now. Thanks!