When I built a game I developed in Unity for Windows to test it, the CPU and GPU usage was generally around 20%. However, when I checked the Task Manager, I saw that the energy consumption was “very high”. Thinking the issue might be with the computer, I tested it on a laptop and encountered the same issue. Additionally, it got quite hot in a short time, probably because it was a laptop. My game is not very complex and I don’t think it would stress most computers. But despite my research, I couldn’t find an answer to why the energy consumption is so high. I am attaching screenshot of the statistics screen of an average scene when the built scene is running. Thank you in advance for your responses.
Turn on V-sync. Without it your GPU will render as many frames as possible, using more resources than you’d think it needs.
Also the task manager is not an indication of performance. Literally any program doing remotely any level of work will show as high power usage, particularly a heavyweight program like the Unity editor.
Hello. First of all, thank you for your suggestion. But I had already tried that. I even went a step further and tried to lock it at 60fps. But it didn’t solve the problem.
I also agree with what you said about Task Manager, but the issue is more about my mediocre game consuming as much energy as a AAA game and causing the temperature to rise. Do you have any other solutions?
Is this a build or in the editor? Your project in the editor is not at all reflective of its performance in a build. The editor is adding tons of extra overhead as you would expect.
Like I said, literally any program doing anything more than idling will be considered energy consuming by Windows. It’s really a meaningless metric.
It is Build. As I mentioned, it’s more about the physical response of the computers I tested the game on rather than Windows. They are getting excessively hot, which is quite disturbing.
I mean a laptop getting warm is no surprise. You could play Quake on a modern laptop and it would still heat up, given they generally have next to no active cooling.
Did you confirm vsync locked your computer to 60fps?
I think that you should start from that energy consumption marked as “very high” and find out what EXACTLY does that mean and how it is distributed, in detail. Because CPU and GPU usage of 20% is anything but high, that’s actually really low.