Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to remove Smooth Sync jitter using NGO

Discussion in 'Netcode for GameObjects' started by phoenix99125art, Oct 5, 2022.

  1. phoenix99125art

    phoenix99125art

    Joined:
    Oct 5, 2022
    Posts:
    2
    Ello, does anyone know why its jittering a lot when using smooth sync with ngo?

    It doesn't jitter nearly as bad if at all with mirror.
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,191
    Need more info, perhaps a code snippet and some analysis you've done yourself. One common cause for jitter is described in the NGO manual, I think that was along the lines of rigidbody physics updates not in sync with network tick rate and/or with or without interpolation, something like that. But even outside of networking changing the transform of a game object that has a rigidbody can cause it to stutter.

    Is this the "Smooth Sync" you are referring to?
    https://assetstore.unity.com/packages/tools/network/smooth-sync-96925
     
  3. phoenix99125art

    phoenix99125art

    Joined:
    Oct 5, 2022
    Posts:
    2
    @CodeSmile Yep that's the Smooth Sync, though I'll see if I can find that on the NGO manual and get back to you.
     
  4. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    523
    upload_2022-11-8_21-2-18.png

    Test this