Cinemachine Jitter When Jump

Hi,

This is a very strange “bug”?

Setup

  • Player is a Rigidbody2D using interpolate
  • Camera is using Late Update on both blend/update method.
  • Jumping code:
            rb2D.velocity = new Vector2(rb2D.velocity.x, 0);
            rb2D.AddForce(Vector2.up * diamondYForce, ForceMode2D.Impulse);

This issue is not consistent. It doesn’t happen in the editor, only on my iPhone 15 Pro.

Here is a video frame by frame. The first jump you can see doesn’t have that issue but the second jump you can see the frame is moving further. It’s like a snapping effect every time it happens.

I THINK that snapping is the second jump where you can see the terrain has moved further down than the first jump, but maybe I am wrong.

5y1h33

Is there something I am doing wrong?

Thanks!

It just looks like a skipped frame to me. I don’t think this has anything to do with Cinemachine.