Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity batchmode stuck on ProjectSettings/Physics2DSettings.asset

Discussion in 'Editor & General Support' started by AstroCool, Jun 5, 2020.

  1. AstroCool

    AstroCool

    Joined:
    Jul 17, 2018
    Posts:
    36
    Hello,

    I'm running Unity with following command line:

    Code (CSharp):
    1. /Unity/Editor/2019.2.21f1/Editor/Unity -batchmode -nographics -quit -projectPath /CardsAssetBuilding1/ -executeMethod BuildAssets.BuildAssetBundle -logFile build.log
    Here is build log:

    Code (CSharp):
    1. Updating ProjectSettings/InputManager.asset - GUID: 00000000000000002000000000000000...
    2. done. [Time: 84.857101 ms]
    3. Updating ProjectSettings/TagManager.asset - GUID: 00000000000000003000000000000000...
    4. done. [Time: 41.121835 ms]
    5. Updating ProjectSettings/ProjectSettings.asset - GUID: 00000000000000004000000000000000...
    6. done. [Time: 69.201325 ms]
    7. Updating ProjectSettings/NavMeshAreas.asset - GUID: 00000000000000004100000000000000...
    8. done. [Time: 36.143873 ms]
    9. Updating ProjectSettings/Physics2DSettings.asset - GUID: 00000000000000005100000000000000...
    10. done. [Time: 24.773159 ms]
    I turned off Physics2D simulation in Editor but still no result.

    After this Unity just become idle.
     
    bc557transistor likes this.
  2. bc557transistor

    bc557transistor

    Joined:
    Aug 16, 2020
    Posts:
    5
    Am having a similar issue. I can't create a project at all. It gets stuck on the same spot with this window:
    upload_2020-8-17_0-57-12.png
     
  3. AstroCool

    AstroCool

    Joined:
    Jul 17, 2018
    Posts:
    36
    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.
     
  4. bc557transistor

    bc557transistor

    Joined:
    Aug 16, 2020
    Posts:
    5
    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.
     
  5. AstroCool

    AstroCool

    Joined:
    Jul 17, 2018
    Posts:
    36
    Hi, if it's not critical you can try another Unity version.
     
  6. bc557transistor

    bc557transistor

    Joined:
    Aug 16, 2020
    Posts:
    5
    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.