Cinemachine: Camera jitter after loading scene.

Hello

For some reason when loading a scene using the scene manager the Cinemachine Virtual Camera will jitter as it follows the player. This doesn’t happen when I play the scene from the editor, only when I load into the scene from another scene with the scene manager.

I already know it isn’t due to an interpellation issue since I’ve already set the player’s rigid body to interplate. Both my CinimachineBrain components “Update Method” and “Blend Update Method” are set to late update. I’m also only using Cinimachine’s built-in components for camera movement with no custom scripts. I’ve also tried both “LoadSceneAsync” and non “Async” in desperation.

I’ve tried many things now and nothing seems to work, the only hint I have is that something odd may be happening to delta time when the scene loads but I have nothing to back that up, just something I read in another forum post while troubleshooting.

I’m at a loss for what to do so hoping someone here will be able to help.

Thanks in advance.

It is possible that the movement of the player is jittery. Could it be that the way it is moved is frame-rate dependent?

If you attach the Camera directly (with CinemachineBrain disabled), do you see jitter?

Hi thanks for the response, I just tested this and no it doesn’t appear to be the player’s movement, the player moved smoothly after turning off the CinemachineBrain both when I attached the camera directly and just pointed at the player free floating.

I should also add that the jitter only seems to be present for movement not rotating the camera around the player.

1 Like

Screenshots of the settings on my VirtualCamera and Brain. Hopefully, it is helpful

.


8725098--1180071--upload_2023-1-12_14-45-1.png

8725098--1180074--upload_2023-1-12_14-45-28.png

I don’t mean to spam but I’ve got an update

Upping the dampening on the camera seems to solve the issue though now I have the camera falling too far behind the player due to the extra dampening.

Could you show your character controller script? To see how your player is moved.

1 Like