total connections count

how can i print total connections on the client. Network.connections.Length gives "1" everytime.

1 Answer

1

That is rather strange.

Alternatively you could create a global variable that increments every time OnConnectedToServer(), and decrements every time OnDisconnectedFromServer() is called and display the value of that variable.

That might also help you debug your original issue.

i think i need to do like that