Extreme viewport lag.

Hi guys, as of about a week ago my unity has been suffering from a huge amount of viewport lag. I can move the viewport, take my hands away from the mouse and keyboard and watch it move into place at a very low fps. The most odd thing about it is that if I move around within an empty scene in my current project I can get a 100% GPU load and then move around in an empty scene in a separate project and get sub 20% GPU load.

There are 4 computers all using the project and only mine is suffering from this issue, one of which has the identical system specs to mine.

I have re-installed unity.
I have scanned my computer for malware etc
Other programs are fine (Maya, Blender, Zbrush and marmoset toolbag)

I’m utterly stumped, please help?

So since posting this my coworker with the same spec pc as me as developed the same problem. So something within our shared project is hugely affecting the GPU load on our pcs.

Scenes in your current project alone cause viewport lag?

Have you updated your system or installed new software recently?

Would you mind posting the specs of the affected computers?

Yeah only scenes (even empty ones) from within this project cause the issue.

Neither pc have had anything new installed on them recently. The issue is caused by something within the project as my colleague deleted his entire project and updated to the newest iteration of it and the problem then started.

Both computers have q6600 CPUs with 8800gts CPUs, the two computers with i7s and newer GPUs aren’t visibly affected.

I have a Intel i5 Sandy bridge 3.300, NVDA GTX 560 overclocked, 12gb ram Corssair vengeance, and still get this problem for once and while.
What i have to do it’s just restart the computer, and everything goes normal. Can’t say much but looks like some idle mode on VGA, i’ve read something about fermi cards, don’t know if it is, but i have the same problem as you have, nove every time, but.

Try to let a video player open and playing some video, so it will break the idle mode from the VGA. (just try)

The problem is that it doesn’t affect any other software or even unity within a different project.

Are you seeing any errors?

Could you check Quality Settings and try selecting the lowest/fastest quality, and make turn Vsync is off? Is there any improvement afterward?

Do you have any large assets within your project or maybe any that haven’t triangulated properly?

Thanks for the replies guys, I’m not seeing any errors within the scenes. Also quality settings don’t seem to affect it at all.

We don’t have anything over 5000 polys in the project and blender wont allow ngons to be brought in from zbrush or topogun so there shouldn’t be anything that isn’t triangulated properly. Could that affect an empty scene if there were?

No it shouldn’t, it sounds like it’s pulling something from the project files even in a new scene so it could be script based maybe.

Yeah I have a feeling that it’s probably script based, do you think that would stress the cpu if it was? The only piece of hardware that seems to be having a hard time is the GPU itself.

So one of the coders had added another quality setting to the Quality Setting file inside project settings. I guess mine and the other artists unity must have been trying to use that setting as default as now that I’ve removed that setting for the file our scenes work perfectly again.

Thanks guys :slight_smile:

Yey glad to hear it!