Camera Lagging Issue

Hello,
I created a script for the camera to follow the player in a fixed position. It works, but in play mode, the character staggers in the game view while being completely smooth in the scene view. Is there anyway to smooth out the camera movement in the game view.

Here is the basic CameraMove script I created:

    void FixedUpdate()
    {
        transform.position = player.transform.position + new Vector3(0,6,-8);
    }

Any help is appreciated!
Thank You!

Move your code to Update or LateUpdate. By default FixedUpdate is 50 fps and so any movement will be jittery unless you’re moving a kinematic rigidbody with MovePosition and interpolation is enabled.

LateUpdate fixed it!
Thank You!