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. Dismiss Notice

Question PUN2, Fusion, Fishnet,Netcode... What should I use ?!

Discussion in 'Editor & General Support' started by Notrain0, Sep 17, 2023.

  1. Notrain0

    Notrain0

    Joined:
    Feb 26, 2023
    Posts:
    7
    Hello !
    I've learnt a lot about coding in unity, but I've always coded offline stuff, now I want to jump in multiplier. I'm still learning a lot, it's only been 6 months I started daily coding.

    I have tried Fishnet, but the lack of tutorials and guides made me quit, so I tried fusion but ahum, same + damn it's complicated as hell as you have to code everything from scratch.
    And because of that, I don't feel like i'm "learning" anything from trying to code these, I don't understand what I do, what's running on the serv or not... And that's a waste.

    So now I'm starting to consider PUN2 because of how much documentation and tutorials there are about it.
    -> I want to code a battleroyal with RPG dimension, and side mode as a ranked 3v3.
    Long term project.

    So, would you recommand me going for Unity Netcode for GameObject ? PUN2 ? Fishnet ? blabla ?
    I know fishnet and Fusion are newer, I've learnt they were MUCH more powerful than PUN2, which is cool because as a newer dev my code won't be ultra optimized, and I don't know a thing about how good is Netcode
     
    Last edited: Sep 18, 2023
  2. Zarkend

    Zarkend

    Joined:
    May 11, 2016
    Posts:
    28
    We are using PUN2 in our main project and I recommend you to NOT use it as it's being deprecated from Photon, Instead use Fusion if you want to go the "Photon way".

    Can't tell about the other options, never tried them but looks like they are putting some efforts to Netcode (atleast their "backend" services, matchmaking authentication etc support async/await code) - Even tho I hate unity services lol.

    Never heard about Fishnet but looks fine :O

    Good luck!
     
    Notrain0 likes this.
  3. Notrain0

    Notrain0

    Joined:
    Feb 26, 2023
    Posts:
    7
    Thanks for your answer, I had heard a lot about PUN2 but I didn't think their user thought of it that way haha

    For now I'm giving another chance to Fishnet, I asked someone experimented to explain me how their RPC works, and now I understand better their documentation.
    From everywhere I heard it was much more powerfull than all other solutions, and simpler to use.
     
    Zarkend likes this.