Please excuse the vague description as I’m not sure how to best describe my problem. I have only experienced this on my high end gaming rig, i7, 980ti, 32gb ram, but not on my 7 yr old laptop (same game) and my 2014 Macbook pro. They have always been running the same version of unity.
What I experience is sluggish frame rates, seemingly slightly inconsistent frame times and editor frame rates when running game side by side with the scene (slightly improved when always maximized) in the unity editor only. It also happens to a lesser degree when maximized in the editor.
This has been happening since Unity 5 as far as I can tell and I’m running out of ideas. I am not sure how to better describe it other than the frame rate is very sluggish on even the simplest of games.
Regardless of how simple my game is, any sort of translations immediately show the problem. A sphere rolling around on a flat plane, a 2D game basic game with sprites, will all encounter this same problem. I keep thinking it’s related to the scene + game view being open beside each other, but running the exact same game/scene on my old laptop has no lag (unity 5.5). I’ve followed many unity tutorials with identical code running on video, I get lag, they do not. I’ve run identical scenes on other machines than my main rig and do not experience this issue.
I’ve checked all the settings I could find in the nvidia control panel, they are identical between my laptop and my desktop.
The only clue I can offer is that I saw someone else with a similar problem who ran with the editor with the
-force-opengl
option and claimed victory. I just tried this option and it did indeed “fix” my problem. Without this option, both my desktop and old laptop are running DX11 but the better machine experiences all the lag…
I really hope this makes sense to someone, any ideas?
EDIT: I’ve tried to make a video but the refresh rate of video doesn’t really show it as well as in person. The best example I can see in the video is when I target the left wing of the ship and fire the cannon volley (3rd volley fired), you can see it stutters more on the first PC (the fast one) than it does on the laptop.
You can also notice how the rate of fire is more consistent in the laptop editor than it is in the desktop editor. This does not happen in full build outside editor, they both perform like the laptop video. I was a bit surprised to see a graphics option (-force-opengl) would also seemingly improve the timing of the shots.
A final indication is sort of visible in the explosion sprites, they are sluggish on the desktop, smooth on the laptop.
Again, it’s not just this game, even rolling a sphere around will do it.