Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    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:
    995
    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:
    995
    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:
    175
    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:
    995
    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,951
    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:
    995
    Eh... I'll fix that...

    Good luck! :D
     
  9. Jamster

    Jamster

    Joined:
    Apr 28, 2012
    Posts:
    995
    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
  11. Jamster

    Jamster

    Joined:
    Apr 28, 2012
    Posts:
    995
    Hello All!

    It's with great pleasure that I'm now handing over Hazel to @ForteBass! I haven't been able to do any work on Hazel for the last two years due to other commitments and I've never been able to give it a real world application myself. However Hazel has lived on with ForteBass's game and so I'm making his improved fork the official repository and handing over direction to him!

    I'll still be around if anyone has questions and may make the occasional pull request, but otherwise he's the expert now!

    You can find his fork here and linked in the original post.

    Jamie
     
  12. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    7,951
    Thanks for your service, Jamie, and for passing it on — the last duty of a responsible open-source author.

    I'm using Hazel in a number of projects, most of them small, but some with the potential to become large. So I'm very glad to see it getting some love.

    @ForteBass, will you be continuing to use this thread for forum support? Or will you start a new one?
     
    Jamster likes this.