Play mode lag Unity 2018.4.30f1

https://learn.unity.com/tutorial/lesson-3-1-jump-force?uv=2018.4&courseId=5cf96c41edbc2a2ca6e8810f&projectId=5cf9639bedbc2a2b1fe1e848

So I’m making this tutorial but I keep encountering small lags. The background slides from right to left, and it looks like that: slide smoothly for ~2s, then ~0.1s freeze and so on. Tried changing API preference from direct3d11 to openglcore in the project settings but no visible effect. So what’s the problem then?

Also I’ve tried to build the project, same lags appear too.