Below are my idle cpu usage graphs for Unity 2019.3 and 2020.1 with a new blank project. The same high cpu also occurs in 2020.2.
Seems something changed in the 2020 versions (for me at least).
I’m currently using mint 20 which is ubuntu 20 based but had same issue on mint 19 which was ubuntu 18 based.
I’m just interested if anyone using the Unity 2020 versions on the official ubuntu 18.04 has normal idle cpu usage like the 19.3 version above? That way I’ll know if it’s just mint (or my own comp) that has the problem.
same issue here, Fedora 32, NVIDIA 450.66.
as some have pointed out, setting Application.targetFrameRate to a low value eases the usage in play mode, but upon returning to edit mode it ramps up again. I’ve noticed that in the Game view in edit mode the stats show >3000 FPS even though vsync is enabled in quality settings.
This happens in both OpenGL and Vulkan
I’m on nvidia 440.100. Same for me about vsync. Doesn’t seem to affect anything so I use the targetFrameRate to slow it down. This is unrelated to the high cpu usage issue though.
I’m on mint which isn’t supported so no. I really just want to know if anyone on official ubuntu 18.04 has the same problem. If users never looked at sys monitor, they wouldn’t know as the cpu usage isn’t such that it affects the performance of the editor. It’s high enough to stop me using it though as it’s simply burning/heating pointlessly.
@JooleanLogic I am on Ubuntu 18.04 so will try to find some time and test it.
I am on 2019.x but will try the new one.
When you start new project, which render pipeline do you use, 3D/Universal/High?
Thanks senkal_.
I’m actually just using 2D but I’ve tried all modes and the idle cpu usage is the same whether 2D, 3D, URP or HDRP.
Also cpu usage remains the same even if Unity is minimised.
I am having the same problem: high CPU usage with any 2020.X release. I did submit a bug report. But I will also paste my report below:
1. What happened
I am running Ubuntu 18.04. I am using a modern, high-performance laptop with a Nvidia GPU. I am using Nvidia’s official driver (nvidia-driver-435).
Both of the lastest 2020.X releases of Unity (2020.1.1.f1 AND 2020.1.3.f1) are consuming too much of my CPU compared to earlier Unity versions.
Interestingly, 2020.X releases are causing the ‘Unity’ process and ‘Xorg’ (a.k.a. X11 display server) both to consume too much CPU:
The ‘Unity’ process averages at 75% of one core.
The ‘Xorg’ process averages at 60% of one core.
On the other hand, 2019.X releases (the latest for example, 2019.3.2.f1) just have one process labeled ‘Main Thread’ which averages at about 20% of one core.
This minor testing was done with a fresh, empty 3D scene (set up through Unity Hub’s wizard). No changes were made.
2. How we can reproduce it using the example you attached
Run Ubuntu 18.04.
Download Unity Hub and Unity Version 2020.1.3.f1, for example.
Create a new ‘3D’ project using Unity Hub.
Open this project in Unity.
Notice the high CPU usage of the ‘Unity’ process and high CPU usage of the ‘Xorg’ process (using a Linux command line program like ‘top’).
Now, compare CPU usage with any 2019.X release of Unity. Notice that the CPU usage is very high for the 2020.X release.
For others experiencing this problem, this is the response I got from the Unity QA team regarding the bug:
Thanks for getting in touch, we actually know about this issue. Unfortunately, it does not have a public Issue Tracker link. At the moment, the issue is fixed in 2020.2.0a21 and a fix should be coming to 2020.1 shortly.
Please reach out to me if I can answer any questions or be of further help.
So, the fix should be coming soon! In the meantime, if your project allows, try using the last 2019 release.
Thanks @coltoneakins
For me this is not an issue but can imagine it’s annoying for somebody on 2020.
It just shows that, despite Linux was planned earlier to be officially supported, it is still a long way to go.
I’m using 2020.3.32f1 Windows 10 and still happening. Please, resolve this issue, even with Unity editor not playing and minimized, after 3 min. my PC cooler fan spins like it’s breaking. Anybody else having the issue?
I was having the same issue and it turned out to be caused by the ProBuilder window being open and docked specifically in the bottom left corner of the editor layout. CPU usage dropped back down to normal as soon as I closed it or moved it to any other place in the editor layout. Really weird.
I encountered the same CPU high usage problem on Unity 2022.3. I’ve already set my Interaction Mode setting as “16ms”“100ms” and every thing was good until I open the Tile Palette window. When drawing tilemaps, the CPU usage increases to 20% and GPU usage to around 10%. I don’t know what’s wrong but I think it has some connections with the tile palette, at least in my case.
Problem solved when drawing maps with the tiles from the palette. Strange. All I changed was setting the Tilemap sorting layer and the CPU usage dropped to 2% and my laptop fan stopped.