Search Unity

Creating a dedicated server with UNET

Discussion in 'UNet' started by AlvaroRam6, Jan 30, 2019.

  1. AlvaroRam6

    AlvaroRam6

    Joined:
    Jul 8, 2018
    Posts:
    2
    Hi! I'm creating a multiplayer game and this is my plan:

    • Using Unet, because it's easy to setup and I don't need a huge professional server, just make It work.
    • Make a build that I'm going to use as a dedicated server (headless).
    • I want it to handle around 100 players
    • I will store the data (login, players inventory) in JSON files in the server.
    • The map is open world, not so huge but a little big. Also will have lots of enemy AI's, like an RPG.
    Will this work? Any tip? If It won't work, any other suggestion? Thanks
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I'd suggest using an alternative API than deprecated Unet. I ran into several issues with Unet when attempting something similar, specifically at the low level where the code isn't made public. Regardless of that, starting a project on an API that is already scheduled to be removed is not something I'd recommend.
     
  3. LukeDawn

    LukeDawn

    Joined:
    Nov 10, 2016
    Posts:
    404
    Yep, stay clear of Unet for now. I've moved over to eNet which is similar to the LLAPI of Unet. If you need something more like Unet HLAPI (with the networkmanager and such), I'd suggest the community reworking of Unet called Mirror.
     
    Joe-Censored likes this.