19
2017
Install & Run Unity in Linux Terminal
see latest releases here: https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/
INSTALL
– Login to ssh terminal (i’m using Ubuntu-14.04.1-LTS-64bit)
– download package (i took 5.5.3):
wget http://beta.unity3d.com/download/a2454d41e248/unity-editor_amd64-5.5.3xf1Linux.deb
– install:
sudo dpkg -i unity-editor_amd64-5.5.3xf1Linux.deb
– missing dependencies error..google, help!
– try:
sudo apt-get -f install
– try:
sudo apt-get update
– try:
sudo apt-get upgrade -f
– try install again:
sudo dpkg -i unity-editor_amd64-5.5.3xf1Linux.deb
– if finished successfully, see where it installed:
dpkg --contents unity-editor_amd64-5.5.3xf1Linux.deb
– looks like install folder is: /opt/Unity/Editor/
RUNNING
– Go to the folder:
cd /opt/Unity/Editor/
– try running it:
./Unity -nographics -batchmode -force-free -quit
– view editor log to confirm it runs:
cat ~/.config/unity3d/Editor.log
– looks like requires username or activation..
– “Failed to activate/update license. Missing or bad username and password. Please try again using valid credentials or contact”
– try running with username:
./Unity -nographics -batchmode -force-free -username ***** -password ***** -quit
– “Failed to activate/update license. Timeout occured while trying to update license. Please try again later or contact”
– maybe its this? https://issuetracker.unity3d.com/issues/new-installed-unity-will-report-timeout-error-in-commandline-activiation
– run without batchmode:
./Unity -nographics-force-free -username ***** -password ***** -quit
– seems to work! (log looks fine)*
Next steps.. test with real project and some batch script.
*Update#1:
actually still gives that license error if -batchmode parameters is given..
This might fix, it, but requires starting it manually.. https://forum.unity3d.com/threads/5-4-0p1-fails-to-launch-due-to-license.425277/#post-2941499
some info also, https://forum.unity3d.com/threads/unity-5-3-seems-to-break-batchmode-nographics-on-headless-linux.376074/
REFERENCES
– Unity Commandline parameters: https://docs.unity3d.com/Manual/CommandLineArguments.html
Related Posts
10 Comments + Add Comment
Leave a comment
Recent posts
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on
Running Unity3D in a Virtualized Headless Ubuntu Environment
https://medium.com/@h0lycattle/running-unity3d-in-a-virtualized-headless-ubuntu-environment-1adf95c05994
helper script for running between multiple unity versions
https://forum.unity3d.com/threads/simple-script-for-multiple-unity-installs.488411/
open source tool to Download, Install, Run Unity from the command line
https://forum.unity3d.com/threads/u3d-an-open-source-tool-to-download-install-run-unity-from-the-command-line.491808/
open source tool to Download, Install, Run Unity from the command line
https://github.com/DragonBox/u3d
PowerShell module contains tools for managing and automating your Unity installs and projects
https://github.com/microsoft/unitysetup.powershell
How to run Unity on Amazon Cloud or without Monitor
https://towardsdatascience.com/how-to-run-unity-on-amazon-cloud-or-without-monitor-3c10ce022639
command-line application to manage unity versions
https://github.com/Larusso/unity-version-manager
Script to install Unity 3D versions from the command line on macOS
https://github.com/sttz/install-unity
Installer script for Ubuntu 20.04
https://github.com/boppygames/Unity-Installer-for-Ubuntu
command line parser and options to set editor, build, player, and other Unity settings when running Unity from the command line
https://github.com/Unity-Technologies/com.unity.cli-project-setup