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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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:
    426
    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: