Hi,
Having some troubles with syncing UI over all clients.
So I have a game with multiple players, each players has UI assigned to them. When they die, I update the UI (lives etc) but the UI only updates on the host, the clients UI doesn't update.
My canvas has a network identity component with local player authority checked.
The code i'm using to update UI:
UI not syncing over clients
Having some troubles with syncing UI over all clients.
So I have a game with multiple players, each players has UI assigned to them. When they die, I update the UI (lives etc) but the UI only updates on the host, the clients UI doesn't update.
My canvas has a network identity component with local player authority checked.
The code i'm using to update UI:
Code (CSharp):
- [Command]
- public void CmdOnDeath ()
- {
- lives = lives - 1;