FirstGearGames / FishySteamworks

A Steamworks implementation for Fish-Net.
Other
77 stars 18 forks source link

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

Open busiyg opened 3 months ago

busiyg commented 3 months ago

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

FirstGearGames commented 3 months ago

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.