hasAuthority VS isLocalPlayer

I am struggling to see the difference between hasAuthority and isLocalPlayer. Surely if the hasAuthority is true, isLocalPlayer will also be true (and vice-versa)?

A spawned object that is not a player, will have authority on the server (host), but will not have isLocalPlayer set.

What is defined as being a “player” ?

From what I understood anything added via ClientScene.AddPlayer() which is also used by StartClient() of the NetworkManager.

http://docs.unity3d.com/Manual/UNetPlayers.html

Aaaah i see. Thanks for the help guys

What does your question have to do with this 3 year old thread?

1 Like