Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Starting Unity via $PATH

Discussion in 'Linux' started by Okona, Aug 27, 2015.

  1. Okona

    Okona

    Joined:
    Aug 27, 2015
    Posts:
    3
    Hi,

    when I want to start Unity via the commandline it seems that you have to always use a path component like
    ./Unity
    /opt/Unity/Editor/Unity

    however, when I want to start Unity via $PATH either by including its Directory in the $PATH or linking the Unity executable in a directoy searched by $PATH it does not start.

    the Editor.log in .config/unity3d/Editor.log says the following

    mono profile = '/u/halle/okona/home_at/Data/Mono/lib/mono/2.0'
    Unable to load mono library from /u/halle/okona/home_at/Data/MonoEmbedRuntime (x86_64)
    Failed to load mono, aborting

    Obviously that is the wrong path to mono. Somehow unity seems to expect to be started with a path component.