#Client side don't work properly...

11 messages · Page 1 of 1 (latest)

sinful gulch
#

changes to make:

    private void PlayerReadyUpdate(bool oldValue, bool newValue)
    {
        // This only fires on clients, including host client
        // Mirror has already set Ready to newValue
        LobbyController.Instance.UpdatePlayerList();
    }
    [Command]
    private void CmdSetPlayerReady()
    {
        // Change the SyncVar value
        Ready = !Ready;
    }
tame tide
#

Sincerely thanks for the answer... But it don't fix my problem

tame tide
#

I wrote a log line for this sync hook function to see if client can get the call

#

But it seems like client side don't get the sync hook call

#

I launched the left side from Unity and launched the right side from builded application

sinful gulch
tame tide
sinful gulch
tame tide
#

Oh 😅 It fix the problem... Sorry about the dumb question