I'm using Unity MLAPI. Why does every client have id "0"?
Currently I call StartClient()
in a script, and then log all the client ids from a server rpc using NetworkManager.ConnectedClientsList
. the list only shows one connected client, regardless of how many clients I have open or whether the clients are local or remote. This creates problems such as: no client knows what camera to use, so they just ignore it totally and give a black screen; whenever I try to use a client id to do anything, it doesn't work and gives a NullReferenceException. Why is this, and how can I fix it? Any help would be much appreciated!
Your answer
Follow this Question
Related Questions
Unity UNET - Client unable to move 0 Answers
How to correctly set scoring and player naming in agar.io-like mobile network game? 0 Answers
Increasing CCU's on UNet?? 0 Answers
Multiplayer Light Intensity Not Syncing 1 Answer
What is the purpose of the broadcast data sent/received from NetworkDiscovery? 0 Answers