MazNetwork & MazSimpleNetwork
01.02.2021 -MazNetwork and MazSimpleNetwork are network systems which started with telepathy transport layer (TCP) and supports now multiple layers. It was made with C# Console version and was also implemented in unity. It supports also WebGL. It was hard way to develope this since I have less knowledge about networks. MazNetwork was not so well done. Many garbage collector problems. Thats why I created MazSimpleNetwork was a lightweight version and it supported up to 3k objects. This was two years ago (2019). Telepathy had new updates and uses events (before it was in Unitys Update()). I think it should support more now.
The different between Normal and Lightweight is, that normal has events system which can split serverlogic. You can load or unload. Example a server could load chatlogic or switch to gamelogic. So the server was not a chatlogic again. Also it had logic message system with synchronization. Also it had modules to use external libraries. One of the important module was NetworkSceneObject. This was allowing to know about scene objects. If you started a server all objects from the scene which was networked will get synced with the server. Positions, rotations are saved. So next time it can be synced with new joined clients. However leightweight does not support kind of these things. It also uses new technique for the synchronization. It does no synchronization since both plattforms will have same message id.
However, I learned soooo much in this project. My goal was to make via attributes like [ServerRpc] or [ClientRpc] to convert methods to network methods. At the end it worked very well and my goal was reached. Also I wanted to make little bit like we know from photon engine. Start server if needed. Both are not open for public.
Look at images. You can see I can run multiple server with one instance. Two gameserver one chatserver. As well how the chat was implmented in unity. Not even 30 lines to intergrate chat send and receive function.


