This happens in OnDisable when trying to deregister a callback:
ReplicationServerSystem.Instance.OnConnectionError -= OnConnectionError;
The code should check that the replication server system instance is not null. This does not appear to cause an error for players.



