Search Unity

  1. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  2. Unity 2017.2 is now released.
    Dismiss Notice
  3. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  6. Unity 2017.3 beta is now available for download.
    Dismiss Notice

Unity Multiplayer Up to 100-200 players help

Discussion in 'Multiplayer Networking' started by alextoti33, Oct 12, 2017.

  1. alextoti33

    alextoti33

    Joined:
    Oct 8, 2017
    Posts:
    6
    Hello everyone, is there a free or atleast cheap way to make multiple server, for different world, for example world 1, world 2, hosted mostly from different pcs? With max players 100-200?
    Thx in advance
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    532
    UNet, which is included in Unity, can be used to host on your own dedicated servers for "free" (free as in you still have to cover your server and bandwidth costs). You wouldn't be using the matchmaker or relay services in that case, which are pay for services. Whether your game can handle 100-200 players would entirely depend on how demanding your game is, and how efficient you design your networking code.
     
  3. sourlime99

    sourlime99

    Joined:
    Apr 19, 2013
    Posts:
    16
    Can u explain what the relay and matchmaking servers do?
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    532
    They are collectively called the Unity Multiplayer Service. Unity provides servers that handle lobby and matchmaking between players, generally where one of the players themselves would function as the game's host. They provide additional servers that function as a relay, allowing a host to function while only creating outbound connections, meaning they do not have to do any port forwarding to host the game. All players actually connect to the relay servers instead of directly connecting to the host, and the relays route all the game's traffic to the correct host or clients.

    Unity Multiplayer is a pay for service. It is free while your game is in development, but has a low cap on max connected users (cap depends on what level of Unity account you have). When your game goes "live" the user cap is removed and replaced with a bandwidth metered pay for what you use cost structure.

    https://unity3d.com/unity/features/multiplayer
    https://docs.unity3d.com/Manual/UNetOverview.html
    https://docs.unity3d.com/Manual/UnityMultiplayerSettingUp.html

    Photon Cloud is another company that offers a system that while designed and priced differently, effectively offers similar services to Unity Multiplayer. A lot of people like that one as well.
     
  5. alextoti33

    alextoti33

    Joined:
    Oct 8, 2017
    Posts:
    6
    If we use our data center?
     
  6. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    532
    Well yeah, if you're not using a service like Unity Multiplayer you're probably going to be sourcing your own servers to host your game. That is why I put "free" in quotes, since yes the API is free but your server has to live somewhere and that somewhere is probably some datacenter with its own monthly billing.
     
  7. alextoti33

    alextoti33

    Joined:
    Oct 8, 2017
    Posts:
    6
    ah ok thank you