Hi all,
So I am working on a VR project, where high framerates (90+ FPS) are ideal. As I check my stats, my framerate is sometimes very low (30-ish) and sometimes decently high (55-70 FPS) but never reaches the desired 90+FPS. The weird part is, when I check my hardware usage, it never seems to go beyond 40-45% for any of my main components. So I am wondering if something may be capping hardware usage. Note that I have noticed this issue across multiple PCs with different hardware and across multiple projects
Just a few clarifications, when I see the framerate drop below 30, my GPU is always around 20% and less. When it’s higher, it’s around 40%. CPU always stays around 20% max
What tools are you using to measure the cpu and gpu usage?
Just the performance tab in the Windows task manager
Do you have a multi core CPU with one of the threads maxed out? Most of Unity runs on only one thread unless you’ve explicitly written your code to be multi threaded. So if you have a 6 or 8 thread CPU you could have one thread at 100% and the overall CPU usage would only show as being 17% or 12%, plus whatever the other threads are doing I can easily see that showing “20%” of the overall CPU.
You should use Unity’s profiler window to see where your CPU time is going. If your project is CPU limited, it’s also going to reduce your GPU usage.
2 Likes