Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice
  2. We've opened up a space to discuss, share feedback, and showcase everything related to the Unity Shader Graph! Come show us what you've made.
    Dismiss Notice

Hazel Networking - Open Source RUDP/TCP Library

Discussion in 'Connected Games' started by Jamster, Jun 8, 2016.

  1. Jamster

    Jamster

    Joined:
    Apr 28, 2012
    Posts:
    987
    I'm afraid I don't have a Mac to test but I've never heard of any problems before. Does Hazel work in Unity builds for Mac?
     
  2. Doodlemeat

    Doodlemeat

    Joined:
    Mar 11, 2014
    Posts:
    26
    I am currently using Lidgren Networking library to manage my UDP connections and I have not yet had any problem with that. What would you say that Hazel is doing better? I am creating a first person shooter multiplayer.
     
  3. Jamster

    Jamster

    Joined:
    Apr 28, 2012
    Posts:
    987
    I haven't used Lidgren a whole lot so I'm not really the best person to comment on it. I'd suggest that the main advantage I know is that you can very easily switch between TCP and RUDP with Hazel but Lidgren is only RUDP. Perhaps someone who knows more can chime in though!
     
  4. BigToe

    BigToe

    Joined:
    Nov 1, 2010
    Posts:
    173
    I did end up getting it to work on the mac without crashing. It appears I was one number off on my IP address. When I fixed that Unity stopped crashing. So wha ti really needed was to add another null check to make sure I had a connection before I called Connect(). Thanks for the help.
     
    Jamster likes this.
  5. alextoti

    alextoti

    Joined:
    Jan 17, 2017
    Posts:
    7
    Do you have a discord server?
     
  6. Jamster

    Jamster

    Joined:
    Apr 28, 2012
    Posts:
    987
    Hey!

    There's not a dedicated Discord server but you're more than welcome to talk/ask stuff here! If you'd prefer Discord though then I'm sure people wouldn't mind you asking thing in the DarkRift server (just preface your messages with the fact you're using Hazel!)

    https://discordapp.com/invite/cz2FQ6k

    Jamie
     
  7. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    7,749
    Hey @Jamster, it looks like the documentation is broken again.

    I'm gearing up to use Hazel (in TCP mode) on a commercial project... fingers crossed that it holds up to intensive use! :)
     
  8. Jamster

    Jamster

    Joined:
    Apr 28, 2012
    Posts:
    987
    Eh... I'll fix that...

    Good luck! :D
     
  9. Jamster

    Jamster

    Joined:
    Apr 28, 2012
    Posts:
    987
    It's not down, it just needs a slash at the end of the url... I suspect I can make it so that's not necessary!
     
    JoeStrout likes this.
  10. Vytek

    Vytek

    Joined:
    Apr 29, 2016
    Posts:
    48