Is it possible to activate Unity on Linux via command line?

I’m deploying Unity for Linux on several build agents, I use Puppet. My last step is to activate it without requiring user intervention. I can do it on Windows and Mac OSX but seems I can’t on Linux. Here the command:

/opt/Unity/Editor/Unity -quit -nographics -batchmode -serial R3-XXXX-XXXX-XXXX-XXXX-XXXX -username “mail@domain.com” -password “SuperStrongPassword”

tried the parameters one by one and seems that the one that throws the error is the “-batchmode”

Anyone know why it fails? I’m using the latest available build “unity-editor-5.3.4f1+20160503_amd64.deb” and Ubuntu 16.04.

Something else that doesn’t work is running the “Unity” command after adding /opt/Unity/Editor to the $PATH. If you use the full path (/opt/Unity/Editor/Unity) works fine.

1 Like

Having the same problem via Ubuntu 16.04

Hi folks,

You can start it by the following:

/opt/Unity/Editor/Unity %U

Make a symlink to /bin so you can start via the i3 app-finder or similar.

Cheers!

We’ve found and fixed the issue in the 5.3.6 build.