Search Unity

Batchmode build on Ubuntu 18.04

Discussion in 'Linux' started by ardo314, Feb 26, 2020.

  1. ardo314

    ardo314

    Joined:
    Jul 7, 2012
    Posts:
    345
    Hi,

    I am trying to build my game from the terminal on a ubuntu 18.04 vps. Well it doesn't work. After the license loading it simply stops. It wont even get to executeMethod it seems. On my Windows machine from the command line it works flawlessly.

    This is the output log from the linux machine:
     
  2. ryanjo

    ryanjo

    Unity Technologies

    Joined:
    Dec 14, 2018
    Posts:
    17
    Are you launching Unity as root? You're accessing files in /root/ which may cause issues due to permissions, which would be my first guess. Can you try building as not-root and move & access your project files so that you can access them as a non-root user?
     
  3. ardo314

    ardo314

    Joined:
    Jul 7, 2012
    Posts:
    345
    Yes I was launching as root. Trying it with a new user yields the same results.