OnOwnershipRequest disagreement causes Ownership Desync that does not resolve
complete
BobyStar
When a disagreement occurs with OnOwnershipRequest (Original Owner returns false but Requesting Player returns true) the ownership will desync and will be transferred for the Requesting Player and not revert back when the Original Owner declines.
This is when the local player attempts to claim ownership for themself. I am unsure how remote ownership assignment is handled.
Video Example: https://1drv.ms/v/c/907a50bc9a229edf/EVF-rqS_6_xIgXAE8DLgVEoBWaIrXAqG4yOQlQYgJ3Orxg?e=TTbIko
Example code used:
public override bool OnOwnershipRequest(VRCPlayerApi requestingPlayer, VRCPlayerApi requestedOwner)
{
return !Networking.IsOwner(gameObject);
}
Log In
_
_tau_
complete
BobyStar
This appears to be fixed now! Thanks euan!
This post was marked as
available in future release
BobyStar
Retested on Build 1472 and this is still prevalent.
New Notes:
A None sync object does allow the ownership transfer.
Ownership cannot be set on an object with no networked components or an udon behaviour. The former (instance master forced owning non-networked objects) being expected.
MMMaellon
I've noticed that if I take ownership of a disabled object, then ownership also desyncs and never resolves
BobyStar
MMMaellon Setting ownership on a disabled object would normally queue that ownership transfer whenever the object was re-enabled locally, however, this no longer is the case:
StormRel
tracked