clientId
of OnClientConnectedCallback
is 0 for all clients when using Distributed Authority and Scene Management is disabled
#3211
Labels
Description
When using the Distributed Authority topology and disabling scene management on the
NetworkManager
, theOnClientConnectedCallback
callback haveclientId
set as 0 for all clients.Reproduce Steps
NetworkManager
NetworkManager
Actual Outcome
clientId
is always 0. whether we are the host or not.Expected Outcome
clientId
should be the same asNetworkManager.Singleton.LocalClientId
.More Info
When Scene Management is enabled on the
NetworkManager
the output is :OnClientConnected clientId=1, LocalClientId=1
When Scene Management is disabled the output is :
OnClientConnected clientId=0, LocalClientId=1
If another client connects to the server, their output is :
OnClientConnected clientId=0, LocalClientId=2
Environment
The text was updated successfully, but these errors were encountered: