Search Unity

Feedback (Mac) Stop Forking The Hub Process To Create Child Editors

Discussion in 'Unity Hub' started by btristan, Jul 31, 2019.

  1. btristan

    btristan

    Joined:
    Oct 15, 2018
    Posts:
    95
    Whenever the Hub starts an Editor instance the Editor is a child process of the Hub. On Mac OS user applications' parent process is usually launchd. This helps tools understand that they are independent processes for two separate applications.

    For example of correct behavior: when Jetbrains Toolbox launches Rider, the parent process of the Rider process is launchd. (as seen in Activity Monitor)
     
  2. AbrahamDUnity

    AbrahamDUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    431
    Hi,

    Each editor may appear as a child process but it is detached from the Hub. In this sense, terminating the Hub will not terminate the open Unity instances. This may change in favour of "completely independent processes" in the future.

    Cheers,
     
  3. empika

    empika

    Joined:
    Jul 12, 2012
    Posts:
    31
    This might be an edge case reason to launch Unity independently of the hub, but Discord does not allow me to set my status to using Unity if it's a child process of Unity Hub, only Unity Hub is detected.