Editor playback performance on Windows

This has been an issue that’s been puzzling me for awhile: When I test a game in the Editor in the ‘Game’ view, the refresh rate of the screen seems both low and kind of inconsistent. ‘Jittery’ or ‘choppy’ are good words to describe it.

Several things worth noting:

  1. I get the same behavior on my custom-built Windows desktop (Windows 10, Nvidia GTX 750 Ti, Intel Core i5 3.0 GHz quad-core, 8 GB RAM), and a Samsung Windows laptop (not sure about its specs, but it’s running Windows 8.1 and has an AMD graphics card.)

  2. My project isn’t causing the issue. I’ve tried a bunch of different, very basic test projects and I always get the same behavior. Plus, even though I get the choppy playback in the editor, projects always run as smooth as silk after being built & ran.

  3. Despite the visuals looking choppy (in the 20-40 fps range), the editor’s Stats overlay reports a blazing 80-140 fps, and gameplay is unaffected. It seems like the screen just isn’t being redrawn often enough or something.

  4. This issue does not exist on any Mac machine I’ve tested it on. Testing games in the editor always results in silky smooth performance on my comparatively puny MacBook Air.

Has anyone else noticed this, and if so, is it just something people are generally happy enough to live with? I’m working on a tough, fast-paced 2D platformer, so framerate inconsistencies – even though they’re just on a visual level, not a gameplay or input level – are a bit frustrating to deal with.

Update: I just installed the Linux version of the Unity Editor on the same Nvidia GTX 750 Ti machine. I get perfectly smooth performance when testing games in the experimental Linux editor. The Windows editor still gives me choppy performance, even under the latest release (5.1.3).

I have noticed that the in-editor Game view performance (when playing) goes up considerably if you make sure that:

  1. Game view is set to Maximize on Play, so it occupies the full size of the Editor,

  2. There are no other windows or pieces of Editor separated from main window. Close all windows from secondary monitors or merge them with existing window, so there’s literally nothing else to the entire Unity interface except game view.

Apparently, having any other editor components (Scene view, animator, whatever, even Store) along with the window where Game is being drawn cuts the performance down roughly in half, which sounds roughly the same to what you’re experiencing. I am also having Game View Stats window reporting crazy performance. A custom script drawing FPS counter on screen differs to that in that case, but is consistent when only Game view is visible.

NOTE: I am only seeing this in my very old laptop (nVidia 9300M). On my main PC which is comparable to yours (Core i5 4th gen, 8GB RAM, GTX 560) I am not experiencing this problem, but I am currently working on an extremely low hardware requiring project so I’m not actually able to tell if the same problem would persist on my main PC with heavier project running (I mean graphically more intensive).