Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Editor won't launch on linux batchmode

Discussion in 'Linux' started by sbkim_morph, Sep 13, 2022.

  1. sbkim_morph

    sbkim_morph

    Joined:
    Apr 21, 2022
    Posts:
    8
    Hi,

    When running Unity in batchmode on Linux server for build, Unity does not run. The log is all you see below, and the LicensingClient is not visible. What is the cause?
    • unity hub version: 2.4.6
    Code (CSharp):
    1. Unity Editor version:    2020.3.32f1 (12f8b0834f07)
    2. Branch:                  2020.3/staging
    3. Build type:              Release
    4. Batch mode:              YES
    5. System name:             Linux
    6. Distro version:          #20~20.04.1-Ubuntu SMP Fri Aug 5 12:16:53 UTC 2022
    7. Kernel version:          5.15.0-1017-azure
    8. Architecture:            x86_64
    9. Available memory:        7951 MB
    10. [SignatureVerifier] Application signature verification not supported on this platform.
     
  2. KevinWelton

    KevinWelton

    Unity Technologies

    Joined:
    Jul 26, 2018
    Posts:
    242
    Hi @sbkim_morph. We don't support the 2020.3 Linux editor, but one question I have is whether you are running on a headless system or in a regular GNOME environment simply using -batchmode?
     
  3. sbkim_morph

    sbkim_morph

    Joined:
    Apr 21, 2022
    Posts:
    8
    Hello KevinWelton,
    We are doing AssetBundle builds in batchmode on a headless system(server).
    Also, you said that Linux doesn't support 2020.3. So, can you tell me which version of Unity Linux supports?

    @KevinWelton
     
  4. sbkim_morph

    sbkim_morph

    Joined:
    Apr 21, 2022
    Posts:
    8
  5. sbkim_morph

    sbkim_morph

    Joined:
    Apr 21, 2022
    Posts:
    8
    @KevinWelton when running Unity, the following command is being executed in a shell script.

    Code (CSharp):
    1. UnityPath="/opt/unity/editors/2020.3.32f1/Editor/Unity"
    2. APIName="HeadlessServer.Build"
    3.  
    4.     "${UnityPath}" -headless -quit -batchmode -executeMethod $APIName -logFile "serverbuild.log"
     
  6. tylerinthezoo

    tylerinthezoo

    Unity Technologies

    Joined:
    Jun 15, 2022
    Posts:
    97
    2021.3.x is the LTS AFAIK. Upgrade is always encouraged as versions lower won't receive new patches.