Unity 2022 use more cpu and gpu

Hi
I was using the unity 2018 version and when running the project in the editor, the CPU consumption was 12% and the GPU consumption was about 20%.
I entered the same project in unity 2022 version and it runs without errors, but the CPU consumption is 45% and the GPU consumption is 50% !
Why ?!

Generally speaking, you can expect software that is five years older to consume fewer resources since it will generally be designed to work well on the hardware of that time period.

If you accurately want to compare the two projects, let both sit idle for 10+ minutes to rule out any background tasks and make sure the selection and active windows and window layout is exactly the same.

Perhaps its as simple as the game view having vsync disabled. There is also a new „editor interaction mode“ throttle in Preferences that may affect this behaviour.

Vsync and interaction mode is disable
But the consumption of processor and graphics is high, even in an empty project! And the laptop fan turns on, Apple macbook Pro laptop with i7 processor with 6 cores and 4 GB nvidia graphic card
It is true that old softwares are updated, but in an empty project, it is not reasonable to occupy resources in this way and to put so much pressure on the laptop in the construction and testing of the simple 2D project !

Vsync should be enabled!
Otherwise you are wasting resources by allowing the GPU to render excessive amounts of frames (more than the monitor can display).

Interaction mode cannot be “disabled”.
It can be set to specific timings, or unthrottled. Again in the latter case that will waste resources because this allows Unity to update and render as fast as possible.
Leave interaction mode at default or even lower it to 16-32 ms (60-30 Hz).

If both settings are what you say they are, then it’s no surprise that the resource usage is this high. :wink:

A laptop’s fan turning on has no meaning. It’s meant to turn on as the system sees heavier usage. Like @CodeSmile said you need a more powerful computer today than you did five years ago. I wouldn’t consider anything less than an M1 with 16GB RAM for Unity. A pre-M1 is only sufficient for testing at best. It’s useless now for development.

If you can afford it a Pro or Max tier too because even though the base models will work they’re pretty slow.

On the topic of the hardware itself Apple is very heavily throttled by power and temperature. On PC an Intel CPU will typically maintain its boost but on Apple hardware it only achieves it for a short period of time. The result is Unity will actually need to run for longer to do the same thing. It’s part of why it’s seeing high usage.

It’s even worse when you consider how much modern processors are improving. Your i7’s 6 cores would have been decent back then, but a current generation i7 has 20 cores and even a budget i3 has 10. Clock rates are far higher now too on PC with speeds up to 6GHz sustained compared to Apple’s 2 to 3GHz sustained for that generation.

It’s harder to compare the performance of Apple’s custom chips by looking at the cores and clock speed but the overall speed increases by about 25% per generation (eg an M3 is 25% faster than an M2 and 50% faster than an M1). So even if you buy new be aware it will be outdated very quickly.

I’d have to know the exact model to look up the NVIDIA GPU. It’s likely better than Intel/AMD integrated but I imagine it’s far behind the M1+ integrated. Until I learn more best to assume it’s only good for mobile work.

Yes, I meant the default (for interactive)
Regarding vsync, I used to set it equal to 0 in the code, now I set it equal to 1, I even set the frame rate to 30, but it has no effect (I even tested it in Unity 2019 with this laptop, resources are consumed much less, much less!)
The laptop that I mentioned is not bad at the laptop level, and I use this laptop for mobile and usually do 2D work.
Apple’s next generation laptops use arm processors, these laptops do not have nvidia graphics cards and seem to be weaker than my current laptop for gaming.

Unity 2018 was the best Unity version by far, also was lightning fast in rendering and image effects.

I still cant tell what any of the new Unity versions and pipelines have brought to the table that was not possible in Unity 2018, with much faster performance tbh

Newer Unity versions are just a downhill ride to platforms fragmentation, performance killing and massive development complexity increase.

Unity 2022 is the worse so far, also has many bugs and URP pipeline is not even in Alpha stage yet, the coming Rendergraph will mark the first Alpha stage, so there is a huge road ahead to a fast and stable environment.

All in all, if one could stay in Unity 2018, it is extremely recommended. Just for the fact that the editor loads in few seconds is worth it imo

Unity 2018 output on Android 13 just opens a black screen and the game doesn’t run

I enabled the vsync option in the play screen and the processing load decreased, but still not enough
In Unity 2019, when I limit the frame rate to 30 in the code, the processing load is greatly reduced, but in Unity 2022, nothing happens.