FishySteamworks icon indicating copy to clipboard operation
FishySteamworks copied to clipboard

client can‘t get OwnerId,ClientId,and GetAddress()

Open busiyg opened this issue 1 year ago • 1 comments

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 image but client side can’t image

busiyg avatar Jul 06 '24 03:07 busiyg

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.

FirstGearGames avatar Jul 06 '24 13:07 FirstGearGames