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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to set up a dedicated server and a few other questions?

Discussion in 'Multiplayer' started by kancelarija12, Nov 11, 2019.

  1. kancelarija12

    kancelarija12

    Joined:
    Sep 17, 2019
    Posts:
    15
    How do i make a dedicated server that you directly connect to?

    If i have my own server(s) do i still need unet?

    Is there a way to approximate how much ram per player you need?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    First step is to choose a network API which supports dedicated servers. The specific instructions would depend on the chosen API, and should be well documented since this is a pretty basic set up question.

    Unet was deprecated well over a year ago, so no you should not choose Unet. If you really like Unet you could give Mirror a try, which started life as the Unet HLAPI code base.

    Depends on the network API again. Unet though was notorious for very high memory usage, since it would preallocate all memory needed for whatever the max players are configured for. Most network API's don't do that though.
     
    Last edited: Nov 12, 2019
  3. Jimmy_Lin

    Jimmy_Lin

    Joined:
    May 8, 2015
    Posts:
    10

    we are all waiting for this publish