DEV Community

Discussion on: Getting Started with LiteNetLib

Collapse
 
ductri profile image
Duc-Tri

Thank you for the tutorial, it helps a lot.
I made it working for Unity + dotnet server but one thing was blocking, peer.Tag, and i dont know exactly why :

public void OnPeerDisconnected(NetPeer peer, DisconnectInfo disconnectInfo) {
if (peer.Tag != null) // always null, so removed to make it work