Search Unity

Question Launch editor from command-line without hub?

Discussion in 'Editor & General Support' started by hiphish, Sep 8, 2020.

  1. hiphish

    hiphish

    Joined:
    Nov 13, 2010
    Posts:
    626
    Hello,

    I am on GNU/Linux and I am using the official UnityHub AppImage. I would like to pass some custom environment variables to Unity only, so I need to be able to launch it from the command line. I also want to run Unity in batch mode, which also requires me launching the editor directly.

    I know where editors are installed to (I set the location myself), and each editor has an executable file 'Editor/Unity', but executing that file just starts the Unity Hub again. How can I start the editor itself?
     
  2. hiphish

    hiphish

    Joined:
    Nov 13, 2010
    Posts:
    626
    I have renamed the hub AppImage to something else, that seems enough for Unity to no longer find it. The things I have to put up with...