[DA] OnGainedOwnership and OnLostOwnership callbacks are invoked on all clients #3345
Labels
priority:medium
This issue has medium priority and may take some time to be resolved
stat:imported
Status - Issue is tracked internally at Unity
type:bug
Bug Report
type:docs
Docs feedback or issue
Description
The OnGainedOwnership and OnLostOwnership methods descriptions says that, with the Distributed Authority mode, they are called only on the local client that gained or lost ownership on the object.
But actually these methods are called on each client regardless of them being concerned or not by the ownership gain/lost.
Reproduce Steps
Actual Outcome
OnGainedOwnership and OnLostOwnership callbacks are invoked on all clients
Expected Outcome
OnGainedOwnership and OnLostOwnership callbacks are invoked only on client that actually gain or lost the ownership.
Screenshots
Environment
Additional Context
On the attached gif screen record, the ownership of the sphere transferable network object is changed on mouse down.
The text was updated successfully, but these errors were encountered: