Vector3 Lerp = SmoothDeltaTime vs deltaTime

Hello guys, I’m making a movement here, using Vector3.Lerp.

At the end of the line, I was always using Time.deltaTime, but recently, my editor player became very laggy, and the movement too. Then I tried using SmoothDeltaTime, and bam, the movement became way smoother!
I didn’t noticed any differences in my character speed or the heigh it jumps, so, what’s the difference between these two? and why my editor is lagging and my build runs fine?

Also: These results happened in the editor screen only, whats even more strange, is that, when playing on a build, even with the normal Time.deltaTime, my game runs smooth, the problem is running in the editor, everything just lag as hell. ( I have no Debug.Log, i’m not selecting anything on the inspector and my console isn’t showing anything, i don’t know where the lags come from. The “stats” screen shows around 200fps(2ms). )

Thanks in advance.

Read more info about it here. Basically, it does exactly what it says; it smooths the deltaTime.

Say the frame rate is humming along at 30 fps, then you experience a hiccup of a few frames at 15. DeltaTime will report a difference of 2 ms (30 fps = 2ms / frame, 15 fps = 4ms / frame), but smoothDeltaTime will report something closer to 2ms (but weighted by the frame loss). You can read more about smoothing here.