Where can I find the source code to NetworkManager, NetworkServer, NetworkLobbyManager, etc

So I thought that simply double clicking on the “script” in the editor would be enough, but it seems that it is linked to UnityEngine.Networking.dll instead of an actual .cs file.

Are we stuck wondering whats inside the blackbox or is there a place to view the source code to these high level classes. They would be both huge learning tools and good starting points in general in the common case that modifications need to be made to the way networking works.

You can use ILSpy to see the code :slight_smile:

Yeah I’m using Reflector 8 at the moment, code is pretty readable although you lose local variable names.

Still would require a fair bit of work to go through and fix small issues like that should I want to integrate it into the engine.

It’s a shame because the default network components work pretty well.

You can use dnSpy too.
Pretty good.
:slight_smile:

Full HLAPI source code can be found here: https://bitbucket.org/Unity-Technologies/networking