How do you learn about Unet?

Hi,
I gave Unet a go few months back and faced big problems that could not resolve and my topics in the forums were left unanswered.

I’m giving another go but I’m facing the same problems fast. I’ve tried every tutorial I could find but they are all beginner level, which I know of.

So I was wondering, how do you guys learn about Unet?

Quite honestly, I downloaded the source code.
https://bitbucket.org/Unity-Technologies/networking
It helped tremendously.

@Rehatla I was going to say the same thing. The docs are either outdated, wrong, or incomplete (at least back when I was figuring out UNet) in so many places that it just confused me further. Once I found the source code everything was golden. It’s all well organized and pretty easy to read through, and you can switch which version of unity you’re looking at the source code for so you’re never looking at something outdated that has changed.

Other than that just set out with a clear goal and try and figure out how to do it the UNet way. Pretty much every problem can be solved either with [Command] / [ClientRpc], syncvars, or NetworkMessages. Some of the authority stuff can be tricky to get your head around at first but once you get it all set up once it all makes sense. Just make sure you understand the differences between scene objects, players, and objects with player authority.

What problem are you having exactly? I’ve hit some problems that I can’t get or find answers for… So I’m going to TRY photon but not expecting my victory any time soon witht hat either lol.

I will agree that having the source code is useful. I was able to reverse engineer the networkmanagerHUD from it, which was very satisfying. Still get disconnected every 3 minutes, but satisfying nonetheless lol.

Thanks I’ll give it a try.

I think docs are updated. I’m not good at reading source code and there are a lot of them in the bitbucket repo and don’t know where to start.

NetworkManager is probably one of the most useful ones to look through. Also the NetworkManagerHUD is basically a crash course on how to get started networking.