Hi, everyone.
Every time when I open a existing project or create a new one, and launch in the Unity Hub, independent of Unity version I have, after some minutes with the Unity opened, it crashs hard and I cannot use it to develop my projects. And the Unity takes a long long time too open (and always crash after that).
In a few months ago, all was working very fine. Recently it stopped working.
I tried to create and/or open existing projects in many Unity versions: Unity 6 (6000.0.26f1), Unity 2022 (2022.3.52f1, 2022.3.31f) and Unity 2021 (2021.3.45f1).
I don’t know more what to do. I tried make so many fixes, but nothing works.
Here’s the log of the last attempt opening a project:
Editor.log.txt (1.5 MB)
How can I fix that?
Analyzing more depth about the crash, I got a AssetImportWorker0.log from one of my oldests projects I had, and I managed to get the command that is executed, and run it in terminal, for look the binary returns for me.
I been found with the Worker of AssetImport process in Unity is returning always a error. The error is:
zsh: segmentation fault ./Unity -adb2 -batchMode -noUpm -name AssetImportWorker0 -projectPath
Maybe now I understand that I have some incompatible libraries in my system. Now - which library is / libraries are, it’s a mistery.
OBS: I have now in my machine a gcc in version 14.2.0
Updating all of my progress:
I ended up decided to format my pc and almost entire cycle of Unity now works.
I said almost, because all the process (from creating/opening the project to background loop flow and updating assets, and editing files) stills incredible slows.
Comparing scenaries, in Windows, creating a new project, i got a 8 ~ 12 minutes to finally open the editor. In Kali Linux, i got 35 ~ 45 minutes to finally open a editor, in the same scenary. (I have dual boot machine)
I will stay investigating the causes of that, because this makes no sense at all.
Well. Updating my problem here:
I tried one of last fixes before formatting my pc and finally works well.
I added this lines to /etc/security/limits.conf in kali linux:
* soft nofile 1024
* hard nofile 1048576
And now each project takes to 3 ~ 5 minutes to open in my machine in kali linux.
That’s it. Now, finally I can work on my projects.
Let’s GO!