I seem to get wildly fluctuating frame-rates in the editor (200-500) and this results in very jerky motion. This happens even when I set Application.targetFrameRate to 60 and QualitySettings.vSyncCount to 1.
If I make an actual windows build, these settings take and everything is nice and smooth. So, is there a way to make targetFrameRate work in the editor?
Right now iterating on controls and motion in the editor is extremely frustrating.
If you're getting jerky motion, maybe you're putting your movement code in Update() instead of FixedUpdate()?
– zee_ola05You're supposed to put movement in Update. FixedUpdate is only for physics, and will result in jerky movement if you put code in there (unless the physics framerate exceeds the screen framerate).
– Eric5h5Eric's answer should explain Application.targetFrameRate. As for QualitySettings.vSyncCount, beware that Unity, as a client application, cannot overrule driver settings. VSync can be controlled externally in your driver control software. Check the setting there, too. If you have an NVidia card, its name is "NVidia Control Panel". I think it's called "Catalyst Control Center" for ATI cards. It should ideally be set to use Application Settings, so that client apps like Unity get to define their own.
– CHPedersen