Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

UI not syncing over clients

$
0
0
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:

Code (CSharp):
  1.  
  2.     [Command]
  3.     public void CmdOnDeath ()
  4.     {
  5.         lives = lives - 1;
  6.  
  7.         var pgo = GameObject.Find...
UI not syncing over clients

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>