Unity batchmode stuck on ProjectSettings/Physics2DSettings.asset

Hello,

I’m running Unity with following command line:

/Unity/Editor/2019.2.21f1/Editor/Unity -batchmode -nographics -quit -projectPath /CardsAssetBuilding1/ -executeMethod BuildAssets.BuildAssetBundle -logFile build.log

Here is build log:

Updating ProjectSettings/InputManager.asset - GUID: 00000000000000002000000000000000...
done. [Time: 84.857101 ms]
Updating ProjectSettings/TagManager.asset - GUID: 00000000000000003000000000000000...
done. [Time: 41.121835 ms]
Updating ProjectSettings/ProjectSettings.asset - GUID: 00000000000000004000000000000000...
done. [Time: 69.201325 ms]
Updating ProjectSettings/NavMeshAreas.asset - GUID: 00000000000000004100000000000000...
done. [Time: 36.143873 ms]
Updating ProjectSettings/Physics2DSettings.asset - GUID: 00000000000000005100000000000000...
done. [Time: 24.773159 ms]

I turned off Physics2D simulation in Editor but still no result.

After this Unity just become idle.

1 Like

Am having a similar issue. I can’t create a project at all. It gets stuck on the same spot with this window:
6211277--682562--upload_2020-8-17_0-57-12.png

Hello,
It was long but I have re-installed OS, done all steps for instalaltion and it worked. You can try your project on another machine or VM if it works there - try to dissable shaders in Project Settings.

Yeah I’m not reinstalling my OS to fix a Unity issue. I use Debian SID. If there’s something wrong with my OS like a library missing, a half-decent program would alert me of the problem.

Hi, if it’s not critical you can try another Unity version.

All of them have the exact same issue. It just stops loading assets. You can see that after loading Physics2DSettings.asset, it says done, meaning it succeeded. Then it just stalls for no reason, silently, with no error logs.