Camera following the Player doesn't work:(

Hi everyone!
First, thanks for your attention and trying to help me! But to come back to my small but nasty problem! My Camera doesn’t “want” to follow my character. I tried all sorts of options mentioned in other discussions, but my problem is a bit different. As you can see here:

The objects are kind of lagging. I don’t know why, because the code I’m using for controlling the camera is from Brackeys (There is one small difference: The script is executed by the Player Gameobject so that the Camera is the “imported” variable)
and looks like this:

    void LateUpdate()
        {
        Vector3 desiredposition = new Vector3(transform.position.x, transform.position.y, -1);
        Vector3 smothedPosition = Vector3.Lerp(targetcamera.transform.position, desiredposition, magnitude);
        targetcamera.transform.position = smothedPosition;
    }

You should use FixedUpdate instead of LateUpdate.

@adrianspielt02 I’ve tried that, but it doesn’t change anything. I don’t know but maybe delta Time needs to be used for calculating the magnitude… ?