Search Unity

Unity Hub on a Amazon EC2 Mac Instance

Discussion in 'Unity Hub' started by bassarisse, Apr 9, 2021.

  1. bassarisse

    bassarisse

    Joined:
    Jun 13, 2018
    Posts:
    3
    Hey guys!

    In the company I work for, we're running automated iOS builds using Amazon EC2 Mac Instances, and it's working quite OK.

    The only strange thing is that we can't open Unity Hub without runing via sudo command. Trying to open the app like you'd normally do just makes it crash (the attached hub-startup-error.log file shows the generated crash report).

    We then used sudo to setup Unity account and license. The Unity Hub CLI seems to run fine afterwards, and that is what we need for our automated tasks. However, we've seen the Hub crash once in a while, and we can't pinpoint the reason (the hub-error.log file shows one of this cases, but it's very similar to the first one). When this happens, the bigger problem is that the next time the Hub is called, the OS detects the previous crash and displays a dialog asking if want to reopen the windows from previous sessions, demanding manual action and consequently pausing our tasks.

    We tried changing permissions in some Unity related paths (even though the current user does have admin rights), but with no success. We also tried at least disabling this "reopen windows" dialog, but got nowhere.

    Has this happened to anyone? Is there somebody running Unity builds on Amazon Mac servers?
     

    Attached Files: