Any project Lag/Frame rate very low in editor - not playmode

This is present when I open an old project (e.g. In Unity 6 preview or Unity 2022 - 3 LTS) or start a new project in either version.

When I am in the editor, just moving the mouse around and have not yet started working and not yet entered Playmode, there is a noticeable lag or lack of normal framerate (feels about 10 fps).

Interestingly, the lag isn’t present while:

  • Playmode is active.

Or when not active:

  • When I move UI elements.
  • When I have dropdown menus such as File or Edit open.
  • When I click and drag in the scene (selection box or move objects.
  • When I click and drag (not interacting with anything) in the game window.

Screen Recording doesn’t capture the issue.

Unfortunately, the issue isn’t as noticeable via the phone.

There is also a barely perceptible flickering happening, like a screen refresh. Occasionally it is more noticeable on the edges of the screen.

This did start after a Windows update last night and may be related as I had this bug before, sometime last year.

I don’t recall if or how it was fixed as I did take some time away from dev.

This is extremely distracting. I have restarted the computer, checked the drivers, and installed the latest version of Unity 6 all to no avail. My RAM usage is high but even with all other apps closed and sitting at 40% usage, the problem persists.

I’m about to look at purging all installs that I have present on my PC and starting with a fresh install.

I don’t believe this is version related but maybe something shared?

Any help would be greatly appreciated.

So I tried reinstalling Unity to no effect. I then uninstalled ALL versions I had installed and reinstalled Unity 6. Again, no change.

I tried deleting some preferences-related files/folders too.

After deleting all related files to Unity from appdata and other various locations and then reinstalling Unity 6 the problem is still here^.

^ I prematurely thought I had fixed the problem but it was just a spike of normal performance.

I have found a fix! It seems this is related to G-sync/V-sync.

I have found this very useful post that helped a great deal!

Specifically for my solution, I changed my Monitor technology to “Fixed Refresh” for unity.exe.
This will also modify “Preferred Refresh Rate” and “Vertical Sync” automatically.


I will leave this here in case someone has similar symptoms to mine.

Thanks for posting your fix. This worked for me!

Posting specs and info so this answer gets indexed more:

Problem:

  • Low refresh rate in Unity editor (Unity 6)
  • Frame drop when editing in Unity 6
  • G-SYNC causing issues with Unity editor

NVIDIA GeForce RTX 4070

What a great help !
many thanks, my friend