Linux Dev Space

Install Unity3D on Linux

I’ve been running Unity on my Debian / Ubuntu machines for so long and never have any issues whatsoever. As of now Ubuntu 18.04, and CentOS 7 are listed as the officially supported distros. I’m currently developing a sci-fi brain teaser which is currently on closed beta on Google Play, is solely build on Unity Linux. Again, it’s no different from running it on a Windows machine.

The preferred way of installing Unity on Linux is by first installing Unity Hub.

Install & Run Unity Hub on Linux

You can find the Unity Hub setup file in here:

https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage

You can also refer to Unity Hub sub-forum in forum.unity.com for additional information and to make sure that you’re downloading the latest available version.

Once downloaded, you may need to give execute permission to the UnityHubSetup.AppImage

cd /path/to/download/dir
sudo chmod +x UnityHub.AppImage

Then run the setup file. Either run it from the terminal or just open the file from a file manager.

Install Unity from Unity Hub

Running Unity Hub

In the Installs section of Unity Hub application, you can choose a preferred version of Unity that you want to install. Unity Hub will automatically download and install it for you. One can have several Unity versions installed. Unity Hub allows you to easily switch between those different versions of Unity.

Unity recommends that we use Unity Hub for creating, opening, and managing all the projects. So always use Unity Hub instead of directly running a specific Editor version which usually gets installed under ~/Unity/Hub/Editor/[Version]. You may create a shortcut to your UnityHub.AppImage file for convenience.

Unity Crash

If your Unity crashes, most probably your graphics driver is to blame.

If you have an Intel graphic card that is 2007 or newer, try uninstalling xserver-xorg-video-intel. Your system will then default to use the builtin modesetting driver instead.

dpkg -l xserver-xorg-video-intel
sudo apt-get purge xserver-xorg-video-intel

If that still not fix your issue, try asking in the forums.

If it’s not a known issue, you could always send a bug report by opening an issue in Issue Tracker and Unity team probably will get back to you.

7 responses

  1. Gravatar for nitrofurano

    When i enter “/home/guest/Unity/Hub/Editor/2019.3.0a8/Editor/Unity” on the terminal, a message box appears: “We recommend installing the Unity Hub for the best Unity experience. Visit http://unity3d.com/get-unity/download - Continue launching Unity - [Open project] [Create empty project] [Quit]” - So, how can we run Unity Hub directly from command line? Or do i have to run UnityHubSetup.AppImage all the time i’m going to run Unity Hub?

    nitrofurano – July 6th, 2019
  2. Gravatar for Joaco Remis

    I get error 404 when going to https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.AppImage

    Joaco Remis – September 8th, 2019
  3. Gravatar for Miszczu

    You’ve got error because they changed a url - this is the new one https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage

    Miszczu – September 10th, 2019
  4. Gravatar for Felipe

    Thanks, working fine.

    Felipe – January 28th, 2020
  5. Gravatar for opino72

    Is this an official release from Unity? Since then did they start support Linux again? Where did you find those links? I can’t see them on the Download Archive page.

    opino72 – April 16th, 2020
  6. Gravatar for Gayan Weerakutti

    You can find the links on the Unity Hub sub-forum. Ubuntu 16.04, 18.04, and CentOS 7 are listed as supported operating systems at unity3d.com/get-unity/download

    Gayan Weerakutti – April 19th, 2020
  7. Gravatar for ChromeBen

    Quick question: have you had success downloading any other versions of Unity in this way? I tried the 2018 and 2017 versions today, and the Unity Hub running on CentOS 7 downloaded .exe versions (Windows) instead of the .sh versions. There was no option to change to a Linux version of the Editor…

    ChromeBen – April 21st, 2020

Leave a comment