Search Issue Tracker

Fixed

Fixed in 6000.0.23f1, 7000.0.0a1

Votes

8

Found in

2023.2.9f1

2023.3.0b6

6000.0.37f1

6000.1.0a7

Issue ID

UUM-63810

Regression

Yes

GameObject's with a Rigidbody2D movement is jittery when Interpolation is turned on

-

Reproduction steps:
1. Open the attached “BugRepro” project

{color:#de350b}*Melv: I attached a project that makes testing easier (especially on Neutron) that compares 2D/3D physics, "IN-67633_MelvNoInteraction".  Load it and hit play and it'll automatically move without interaction.*{color}

2. Open the “Assets/Scenes/2DScene” Scene
3. Enter The Play Mode
4. Move around using the A and D keys and observe the “2DCharacter” GameObject’s movement

Expected result: The movement is smoothed out by interpolation
Actual result: The movement is jittery

Reproducible with: 2023.1.0a19, 2023.2.9f1, 2023.3.0b6
Not reproducible with: 2021.3.35f1, 2022.3.19f1, 2023.1.0a18

Reproducible on: Windows 11
Not reproducible on: No other environment tested

  1. Resolution Note (fix version 6000.0.23f1):

    Resolved as fixed at 6000.0.24f1.

Comments (4)

  1. Septuater

    Oct 22, 2024 08:14

    It works beautifully in 6000.0.23

  2. Septuater

    Oct 02, 2024 12:48

    Thank you very much, I can't wait to get my hands on the fixed version!

  3. MelvMay

    Sep 26, 2024 13:43

    This issue has been fixed today and will be in a Unity 6 patch release. Note that this issue occurs when the fixed-update interval is consistently higher than the target frame-rate. Having the fixed-update at the same lower interval also removes the issue i.e. target at 30fps and fixed at 30fps.

  4. Septuater

    Sep 24, 2024 08:49

    This issue is reproducible on macOS and Android as well, especially in 30fps and lower. The issue doesn't appear for Extrapolation, only Interpolation. I can confirm repro on versions 6000.0.10, 6000.0.18 and 6000.0.20.

    I was about to port my game to Unity 6 (current Preview version is really great) but this Interpolation issue makes it almost unplayable on Android devices that will depend greatly on low framerates. I hope you will be able to fix this problem soon.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.