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

Bug Building on command line succeeds but process never exits

Discussion in 'Editor & General Support' started by willemsenzo, Sep 5, 2023.

  1. willemsenzo

    willemsenzo

    Joined:
    Nov 15, 2012
    Posts:
    585
    As the title suggests the build succeeds but the process never exits. I am using following command to build a project:

    /home/user/Unity/Hub/Editor/2022.2.13f1/Editor/Unity -batchmode -projectPath /home/user/Unity/Projects/MyProject -buildLinux64Player Builds/MyProject -logFile build.log

    The generated build works fine but after a few minutes of waiting I run out of patience and have to forcefully kill the process which then causes a segfault. Is this a bug on Linux or is something super important still doing something?
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Try the "-quit" option

     
    willemsenzo likes this.
  3. willemsenzo

    willemsenzo

    Joined:
    Nov 15, 2012
    Posts:
    585
    Thanks a lot that was the missing piece!