FishySteamworks
FishySteamworks copied to clipboard
client can‘t get OwnerId,ClientId,and GetAddress()
public class PlayerNetworkHandler : NetworkBehaviour { public override void OnStartClient() {
if (base.IsOwner)
{
Debug.Log("OwnerId:" + base.OwnerId);
Debug.Log("ClientId:" + LocalConnection.ClientId);
Debug.Log("GetAddress:" + LocalConnection.GetAddress());
}
base.OnStartClient();
}
}
server side can get the stuff
but client side can’t
Most likely a bug. This will need to be backlogged until new compression is complete for FishNet. Willing to take bounties on getting this resolved as well.