Search Unity

Third Party Mirror vs Photon

Discussion in 'Multiplayer' started by eco_bach, Dec 11, 2019.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Since UUNET has been deprecated, https://unity3d.com/unity/features/multiplayer
    what is the best (as in robust and easy to learn) option for building multiplayer with Unity?
    In particular what are the pros and cons of Mirror vs Photon?
     
    MilenaRocha likes this.
  2. Foestar

    Foestar

    Joined:
    Aug 12, 2013
    Posts:
    350
    Depends on what type of game you are going for. I haven't used much of mirror but from what I gathered it was designed off of the old UNet with intentions of having a lot of people connecting at once. Photon is more based off of small lobby games such as 4 player coop, deathmatch between 8-16 players, etc. Photon does this through a server that listens and directs players making it p2p I believe while Mirror does not. Mirror is more server to client based which I would imagine would be better when dealing with hackers maybe? Not positive on that though as even in those games people cheat and I've never made a successful one myself.

    So it comes down to what you want.

    Pun2
    Easy to use
    Easy to setup
    peer to peer after finding games through cloud
    Chatrooms/lobby
    Plenty of tutorials
    Has Free version

    Mirror
    Larger scale connections
    Larger scale projects
    Maybe more prevention of cheaters?
    Free

    I wish I could give more insight on Mirror, but I ended up choosing Pun2 for my projects as it just fit my game. And so far it's been the best thing I've added to my projects yet. In a 2 month period I have made a multiplayer game with game mode selection, player nicknames, Player lobby with chat, and learned so much in the process.
     
  3. Tiny-Tree

    Tiny-Tree

    Joined:
    Dec 26, 2012
    Posts:
    1,315
    photon has more than pun, server can beat out of the box mirror for scaling.
     
  4. g_a_p

    g_a_p

    Joined:
    Mar 16, 2015
    Posts:
    281
  5. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Thanks!
     
  6. dramye17

    dramye17

    Joined:
    Jul 19, 2017
    Posts:
    1
    Hi do you have any tutorial in using Mirror for Online Multiplayer?
     
  7. KarthikRaghuraman

    KarthikRaghuraman

    Joined:
    Jul 2, 2019
    Posts:
    1
    cmembrez and Skermunkel like this.
  8. Aarush109

    Aarush109

    Joined:
    Jun 19, 2020
    Posts:
    1
    yea they did, i am following that only and its awesome. makes multiplayer games really easy to make
    edit, i just realised the post was about an year old :p
     
  9. ristophonics

    ristophonics

    Joined:
    May 23, 2014
    Posts:
    32
    This was pretty useful. I have used PUN2 on a number of projects and like it. I may try Mirror now:
     
    wangpinzhe and Skermunkel like this.
  10. Maynk

    Maynk

    Joined:
    Aug 17, 2020
    Posts:
    3
    I already Enroll the Course the Dapper dino with Gamedev.tv use Mirror And I Comes in internet and search (mirror vs Photon2) this is cause
     
    Skermunkel likes this.
  11. Skermunkel

    Skermunkel

    Joined:
    Mar 24, 2020
    Posts:
    32
    You and Jason Weimann just collectively saved my ass!!! THANK YOU!!!
     
  12. Skermunkel

    Skermunkel

    Joined:
    Mar 24, 2020
    Posts:
    32
    Nervermind, KarthikRaghuraman and Dapper Dino just one upped it, damn, finally some light at the end of the rabbit hole! Thanks so much everyone!
     
    TheEkinnox likes this.
  13. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    This looks great, thanks for sharing. Added it to the Mirror documentation now :)