I have an issue with the lobby where the clients only see their display name and only the host seems them all. The Player object on the client has an empty field for the display name when looking at it during runtime. It looks like the client cannot update the name since it has no authority over the object.
Make sure all the event names are correct and the “+” and “-” are correct.
Also, I would put a Debug.Log in the ClientHandleInfoUpdated() method and see if it’s getting called on the client. You will need to run the client in the editor to check this.
Ok, I figured out the issue. I set the RTSPlayer sync setting to “Owner” and not “Observer”.
Since the object contains the list of units and buildings, I thought it is not good to have this information sync to every client, since it should not be known to the other players.
So, I might need to split out the public and the private information into different classes, to achieve this kind of separation.