I have some problems with System.NullReferenceException. When server do things and we first check user is not null and then he disconnect and server progress something and it tr
SendMessage is throwing null exception, check code in your SendMessage Method
SendMessage
if User goes null before call dont call SendMessage:-
User
if (User != null) { User.SendMessage("crash"); //<-- No More System.NullReferenceException... -.- }