Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Help Wanted 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:
    610
    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:
    610
    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...
     
unityunity