Search Unity

How to connect clients without using unity relay(UGS) and direct ip.

Discussion in 'Netcode for GameObjects' started by rogelioae, Jun 4, 2023.

  1. rogelioae

    rogelioae

    Joined:
    May 20, 2022
    Posts:
    19
    I'm trying to create a multiplayer game but I can't connect my clients by direct ip using the network manager because the internet providers close the ports and unity relay is very expensive, how would it be to make a multiplayer game with an intermediate server (which if I can pay).
     
  2. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    440
    Hi @rogelioae , you can set up a dedicated server with Unity Game Server Hosting.

    Does this help?
     
  3. rogelioae

    rogelioae

    Joined:
    May 20, 2022
    Posts:
    19
    how to connect my game with a dedicated unity server?
     
  4. rogelioae

    rogelioae

    Joined:
    May 20, 2022
    Posts:
    19
    I find this example in case someone else finds it useful: