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 Is there Lobby region?

Discussion in 'Multiplayer Dev Blitz Day 2023 - Q&A' started by Mj-Kkaya, Jul 20, 2023.

  1. Mj-Kkaya

    Mj-Kkaya

    Joined:
    Oct 10, 2017
    Posts:
    156
    Hi,

    As I mentioned at title, I want to create a "lobby" for specific region. Like a create "relay server" by region.
    I want to create simple turn-base game with Lobby. I don't need Relay and Netcode.

    Another question about creating a lobby: Where is the physical server location of that lobby when we create a lobby? Is there just one server or there are many server like a "relay" region?
     
  2. Patrick_Janeiro

    Patrick_Janeiro

    Unity Technologies

    Joined:
    Jun 9, 2021
    Posts:
    8
    Hi,

    while lobby itself isn't currently deployed in multiple regions (currently only in us-east) we can play a few tricks here to filter lobbies by fields to essentially decrease your lobby lists to something within what you would call a "region". Essentially you would be using the filter options in the query on meta data where you would provide a region.

    See:
    Creating a lobby
    Filtering lobbies

    These fields would be just string fields to help you narrow down your users to "regions", but note that it won't improve any network latency, though it could in theory make it more consistent within a "region".
     
  3. Mj-Kkaya

    Mj-Kkaya

    Joined:
    Oct 10, 2017
    Posts:
    156
    Thanks for reply. I will consider your suggestion.
    Additional question is; Do you have any plan to create lobby region in the future?
     
  4. Patrick_Janeiro

    Patrick_Janeiro

    Unity Technologies

    Joined:
    Jun 9, 2021
    Posts:
    8
    Unless performance becomes an issue I don't see us extending lobby to have multi-region functionality, in the near future. In its current state it provides the most flexibility as it allows people to get together in lobbies from across regions and the current custom data queries allows for superficial filtering by player region.

    If you feel like performance of lobby is insufficient for the turn based game it might be beneficial to use something like Relay.
     
    Mj-Kkaya likes this.
  5. gladys_khk

    gladys_khk

    Unity Technologies

    Joined:
    Apr 7, 2020
    Posts:
    23
    Hi Mj-Kkaya, this is Gladys, product manager of the Unity Lobby solution. We don't have multi-region support in the plan at the moment, but please submit your ideas via our interactive roadmap here:
    https://unity.com/roadmap/unity-gaming-services/multiplayer
    Your opinion will help us shape a better Lobby product. Thank you! :)
     
    Mj-Kkaya likes this.