- Home /
Unity 2018 Stuttering: Vsync Issue with dual monitor?
I've had some stuttering issues with Unity in the past, but in this case, I'm completely lost. The only thing in the scene is a cube with this script:
using UnityEngine;
public class Move : MonoBehaviour
{
void Update()
{
transform.Translate(Vector3.right * Time.deltaTime * 3);
}
}
If you watch the video in the link, you'll see there's a stutter/lag in the cubes movement. For reference, this is a Windows 10 PC, GTX 980, freshly installed drivers. Unity version is using 2018.3.0f2, but same thing happens in 2018.2 versions. I recorded in 60fps with ShadowPlay.
Stutter Example Video (Need to download, as web version is compressed)
The video is a build of the game, but the problem is only exacerbated in the editor. I suspected something is wrong with vsync, but i tried both enabling and disabling from the Unity editor, as well as disabling and even forcing vsync in the Nvidia control panel, but nothing worked.
This problem isn't localized to this project either. Every Unity project I play is like this.
Oddly enough, I sent the built project over to my brother, and it runs perfectly smooth on his computer.
We both have dual monitors. Mine are both 2k Acer G257HU, and his are both ASUS MX279H 1080p.
I decided to try disabling one of my monitors as I had read in a forum, and restarted my computer then rebuilt the game. Low and behold it is much smoother. I honestly have no idea why, but this obviously isn't a permanent option.
Any ideas here would be much appreciated, as this has brought me hours of pain and suffering.
Answer by brettshep · Dec 16, 2018 at 11:37 PM
Ended up finding a solution for anyone that has a similar problem. As I thought it was a vsync issue. I went into Nvidia control panel and enabled Adaptive Vsync, which turned my builds into smooth butter. Here's a link on how to enable it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612184117im_/https://answers.unity.com/themes/thub/images/avi.jpg)