preventOwnershipTakeover is not synchronized between clients
I might be missing something very stupid, but this doesn't seem to work for me or I'm not understanding some core concept.
I asked it here before and got confirmation that this value is indeed synchronized between all clients. Meaning when the owner toggles 'preventOwnershipTakeover' it should be reflected on all remote clients as well.
I used the Realtime+CubePlayer example to demonstrate my issue by adding a simple script to the CubePlayer prefab (script attached here).
What it does is simply show the current value of 'preventOwnershipTakeover' of the realtimeView that is next to it.
It also shows the current ownerIDInHierarchy (which synchronized well).
It also allows changing the state of the prevent property, when you are the authority.
moreover, it seems like even when I turn 'preventOwnershipTakeover' on - a remote client is able to to request (and be granted) ownership.
[ Please view attached video ]
Thanks
I asked it here before and got confirmation that this value is indeed synchronized between all clients. Meaning when the owner toggles 'preventOwnershipTakeover' it should be reflected on all remote clients as well.
I used the Realtime+CubePlayer example to demonstrate my issue by adding a simple script to the CubePlayer prefab (script attached here).
What it does is simply show the current value of 'preventOwnershipTakeover' of the realtimeView that is next to it.
It also shows the current ownerIDInHierarchy (which synchronized well).
It also allows changing the state of the prevent property, when you are the authority.
moreover, it seems like even when I turn 'preventOwnershipTakeover' on - a remote client is able to to request (and be granted) ownership.
[ Please view attached video ]
Thanks
OwnershipTest.cs1.2KB