Search Unity

Multiplayer solution for WebGL delivery.

Discussion in 'Multiplayer' started by AnimatedApe, Oct 30, 2022.

  1. AnimatedApe

    AnimatedApe

    Joined:
    May 12, 2014
    Posts:
    7
    Hey, we are just about to begin iterating upon Multiplayer networking in our current WebGL build. We are currently using Mirror and a cheapo server.
    Just wondering if NetCode is a viable alternative at this point in time - we have not touched it yet.

    We need all the standard MP features, lobbies, invites and such - happy to pay for Unity MP services if necessary. 5 player maximum.

    Alternatively, if there are any good packages we can use, we are open to that also.

    Appreciate any suggestions.
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,956
    It would help to know what requirements you have. Any recommendations wouldn't make sense at this point because those may be skewed towards a different set of requirements, priorities, even game genres (eg action vs puzzle).
     
  3. AnimatedApe

    AnimatedApe

    Joined:
    May 12, 2014
    Posts:
    7
    5 player co-operative and competitive multiplayer gameplay. Players can invite friends to their game to complete tasks together. The game is 3rd Person, with playful physics, no combat.

    Mirror works well in testing, but there are limitations in terms of latency - possibly server-based. We were thinking that switching over to Unity services might help out a bit along with providing off-the-shelf solutions to lobby systems and player accounts - hopefully saving valuable dev funds.
     
  4. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    What issues are you having with latency, is it related to the websocket transport?
     
  5. Punfish

    Punfish

    Joined:
    Dec 7, 2014
    Posts:
    401
    You can consider FishNet. It's similar in usage(not a clone) to Mirror but offers CSP for real time server authoritative movement. FishNet uses considerably less resources as well, which is pretty important with webgl builds. It also has real time physics support, which no other free option does. Sounds like those two features alone are something you may need?

    And yes, we have Webgl support, EOS, Playfab, steam, ect.