- Home /
How to fix performance issue in editor while using G-Sync?
I have 144Hz G-sync monitor and while having Unity Editor selected (focused) my framerate drops to a very small number. Sometimes it feels like below 30 and it's very annoying. The problems goes away when I disable G-sync. Also inside a scene/game view everything works fine, it's just GUI that's extremely slow. Is there any way to fix that?
I'm using Unity 2019.2.15f1 (but it was the same in earlier versions) Windows 10, GTX1070 latest driver (it was also the same for earlier ones).
Should I report a bug?
If you haven't tried it already, try running it with Open GL instead of DX11.
Right click on the icon on your desktop, go to properties, then in the Target field add
-force-opengl
after the quotes. So it should look something like this:
"C:\Program Files\Unity\Hub\Editor\2020.3.0f1\Editor\Unity.exe" -force-opengl
That is a popular solution that did not work for me. I had to edit GSYNC settings: go to Right click on desktop> NVIDIA Control Panel > Manage 3d settings > Program Settings > select Unity 3D as your program > Monitor Technology > Fixed Refresh
If that doesn't work, you may have to change your global Gsync settings. Right click on desktop> NVIDIA Control Panel > Set up Gsync > Change it to Enable for Full Screen Mode.
Setting the Monitor Technology to "Fixed Refresh" for Unity.exe worked for me, thanks so much @Citadel712! You should re-post your comment as a reply for better visibility.
Answer by Citadel712 · Mar 21, 2021 at 04:47 AM
From a previous reply:
If you haven't tried it already, try running it with Open GL instead of DX11.
Right click on the icon on your desktop, go to properties, then in the Target field add
-force-opengl
after the quotes. So it should look something like this:
"C:\Program Files\Unity\Hub\Editor\2020.3.0f1\Editor\Unity.exe" -force-opengl
That is a popular solution that did not work for me. I had to edit GSYNC settings: go to Right click on desktop> NVIDIA Control Panel > Manage 3d settings > Program Settings > select Unity 3D as your program > Monitor Technology > Fixed Refresh
If that doesn't work, you may have to change your global Gsync settings. Right click on desktop> NVIDIA Control Panel > Set up Gsync > Change it to Enable for Full Screen Mode.
Thank you for this solution @Citadel712 ! Changing the NVIDIA settings was the exact fix for my situation.
Answer by thoughtcipher · Apr 29, 2021 at 03:56 PM
Thanks for this. I was getting flickering in my editor and visual studio whenever I interacted with my Unity Editor. I ended up going into Monitor Technology and forcing it to G-SYNC and that resolved the issue.
Your answer

Follow this Question
Related Questions
How do I get Unity to ask Windows for focus? 0 Answers
How can I create a editor button that can not be selected 0 Answers
Select TextField when it gets focus (in custom editor) 0 Answers
Limit FPS in the editor? 1 Answer
How do I change the value of an editor text field while it is selected from code 1 Answer