[2021.08.11.15.16] Ownership changes on Object Sync objects causes severe network lag for former owners
complete
Joker is punk
See attached video.
Reproduction steps:
- Two or more players connected
- Use Udon to change ownership of synced object to player A
- Player A moves the object without picking it up (via Udon or physics)
- No issues yet
- Player B takes ownership and moves the object
- No issues yet
- Player A takes ownership and moves the object
- expected: object moves with the same latency as it did on step 4
- actual: latency for player B increases to ~5 seconds
notes:
-player C, who has never had ownership of the object, does not see the issue. It appears to only affect players who
formerly
owned the object.- the lag persists for a long time after ownership change. The video only reflects the short time where the former owner loses ownership and immediately observes lag, but if the new owner continues to cause motion minutes later with no further ownership changes, the former owner will still experience the lag. This can be reproduced with the attached prefab if the new owner continues to trigger Interact on the object (rather than alternating with the other player).
Video of issue:
Log In
Phasedragon
updated the status to
complete
I'm pretty sure this was fixed in update 2022.1.1, let me know if you're still experiencing it. https://docs.vrchat.com/docs/vrchat-202211
-Udon synced objects are now less likely to rubber-band when transferring ownership
Cake․
Joker is punk
AltCentauri also reported that SendCustomNetworkEvents on Continuous sync UdonBehaviours would experience analogous lag after the same kind of ownership changes. However, that doesn't reproduce in the video (see the text canvas updating with the CNE receipt server timestamp). That might need a different investigation.