High Energy Consumption.

I’m running Unity on a Macbook Air M2 and the Unity HUB is always listed as a High Energy Consumption App. But is not only that, the hardware also gets hotter, so why is that?.. Most of the time the Unit Hub is just sitting there in the background, waiting, so it should have a minimal energy consumption.

I don’t know the Mac OS internals, but I remember the old days when I used to write C code for Windows, there was a Sleep function that you would usually call when your app was sitting in background, I remember if you called it like this: Sleep(0) that kind of hugged the CPU and you could actually hear the computer’s fan going to a higher speed, very shortly after your app went to background mode. To prevent that you had to use Sleep(1), that small change was the difference between overheating the CPU and keeping it cool.

Could anyone please, take a look at the code and make sure a situation like this is not happening?.. or just do something to keep the CPU cool when not being used.

Because the Hub is by far the worst piece of software on my (and yours probably) computer. I can’t understand how something that should be so simple is as crappy as this.

Give this a go and you’ll never look back: GitHub - Ravbug/UnityHubNative: A native alternative to the heavy Electron Unity Hub, written in C++

2 Likes

Thank you… I’ll surely take a look as soon as I have time.

+1

Seriously, guys? It’s 2024 outside the window. I can bake pancakes on my M1 MacBook with opened Hub. It’s not a game engine, it’s just a simple app with basic features…

1 Like