Search Unity

Choosing a network engine

Discussion in 'Multiplayer' started by g8minhquan, Dec 20, 2016.

?

What network engine is best for you?

  1. UNET

    2 vote(s)
    20.0%
  2. Node.JS with Socket.IO

    3 vote(s)
    30.0%
  3. Photon

    4 vote(s)
    40.0%
  4. Smartfox

    1 vote(s)
    10.0%
  1. g8minhquan

    g8minhquan

    Joined:
    Jun 18, 2014
    Posts:
    38
    Hi guys,
    I'm trying to make a real-time multiplayer game with many dozen of players in a room. Gameplay is technically simple, and does not require updating lots of info all the time like in shooters.
    I've done a simple demo in Node.JS/Socket.IO and it runs fine with a few players connected, but I'm looking for experienced opinions on whether choosing Node.JS/Socket.IO or any other network engine like Photon, Smartfox or UNET.
    What are the main differences? Pros & Cons?
     
  2. Tiny-Tree

    Tiny-Tree

    Joined:
    Dec 26, 2012
    Posts:
    1,315
    for the type of game you are doing:
    - unet on the technical side is fine, it has few bugs but lot of interesting features like built in scoping // cons: its expensive if you use the unity lobby, but cost almost nothing if you host on a vps a spawn instance yourself

    -node.js its cheap to run but you will not be able to run stuff like physics and pathfinding on server, only on client or a master client

    -photon not very expensive stable and very easy to use, logic only on clients, they have a product in beta that use Unet library but with their own pricing

    -smartfox i cant say, i heard its not supported anymore?
     
  3. g8minhquan

    g8minhquan

    Joined:
    Jun 18, 2014
    Posts:
    38
    Hi Damien, thanks for the answer.
    My team did make an online casino game before with SmartFox, it was great, and is still supported, pricing is somewhat similar to Photon. The only issue with me personally is that SmartFox uses Java, but only one member of my team has exp with Java.
    We recently tried Node.JS with Socket.IO, it runs great for a simple demo, but I don't know if there will be any issue when scaling up.
    Do you know any big game that uses NodeJS/Socket.IO?