Mirror icon indicating copy to clipboard operation
Mirror copied to clipboard

NetworkTransformUnreliable Rigidbody demo initial jitter if onlySyncOnChange is enabled

Open miwarnec opened this issue 2 years ago • 0 comments

  • open rigidbody demo
  • in hierarchy, find Server Ball A, enable 'only sync on change' in RigidbodyUnreliable if not enabled yet
  • build & run. build = server-only
  • editor=client
  • server: press space once
  • notice on the client, the unreliable ball moves up a bit immediately, then waits for 2-3 frames, then moves smooth
  • reliable one is just fine. onlySyncOnChange disabled is just fine

here is default, without onlySyncOnChange: notice it's smooth https://github.com/MirrorNetworking/Mirror/assets/16416509/27edcb00-34f2-4da4-b012-4bb9c4d2463c

here is with onlySyncOnChange enabled: https://github.com/MirrorNetworking/Mirror/assets/16416509/3548d860-e684-4b3f-8260-0344eeb30968

here is slow motion, stepping through the frames: https://gyazo.com/9beaa9d9b1e4392efa9b2e7c150381fe

miwarnec avatar Jun 20 '23 11:06 miwarnec