Version: Unity 6 (6000.0)
Language : English
Install Unity from the command line
Deploy Unity across your enterprise

Install Unity offline without using the Hub

The Unity Download Assistant supports offline deployment.

To deploy Unity offline, you must follow a two-step process that:

  • Runs Download Assistant to install the Unity Editor and generates a script file and packaged files, so you can deploy the same version of the Unity Editor on other computers.
  • Runs the generated script to deploy the packaged files on other offline computers.

Prerequisites

To complete these steps, you need:

  • A computer with internet access. Although the Download Assistant installs the Unity Editor on this computer, it doesn’t necessarily need to be the computer through which you or others use the Unity Editor.
  • One or more other computers through which you or others use the Unity Editor. These computers don’t need internet access for you to install the Unity Editor.

Install Unity, and download files on an online computer

  1. On the computer with internet access, go to the following website:

    https://unity.com/releases/editor/archive

  2. Use the filter controls to list the versions of Unity you’re interested in.

  3. In the Downloads column, select See all for the version you want to install.

  4. Expand Other installs.

  5. Select Download Assistant for your operating system.

  6. If prompted, save the file, and note the download location.

  7. Use your file manager application to go to the location where you downloaded the Download Assistant.

  8. Open the Download Assistant.

  9. On macOS, the .dmg file opens a new Finder window. From that window, open Unity Download Assistant.app.

  10. Follow the Introduction and License prompts, then select the components you want to install. The Download Assistant will install all the components you select on the current computer, and save them to a folder for you to install on offline computers later.

  11. On macOS, at the Select a Destination panel (Select a Destination), select Advanced.

  12. Without closing Download Assistant, go to your file manager application, and create a folder to store the offline installation files you’ll download in the next step.

  13. Return to the Download Assistant and set a location for storing offline installation files.

    Important: Don’t accept the default location for storing installation files. Accepting these default or temporary locations result in incomplete file sets, or complete removal of the files you’ll need for the offline setup later.

    • On macOS, change Default to Custom. Select the folder icon and choose the folder you explicitly created in the previous step.
    • On Windows, select Download to and choose the folder you explicitly created in the previous step.
    Change the default location to Custom for macOS (left) or Download to for Windows (right)
    Change the default location to Custom for macOS (left) or Download to for Windows (right)
  14. Proceed through the downloading and installing panels, until the setup is complete.

The selected version of the Unity Editor (and any selected components) are now installed on this computer.

  • On macOS, the default location is Applications/Unity.
  • On Windows, the default location is C:\Program Files\Unity <version>. Download Assistant also placed a shortcut to the installed Editor on your desktop.

Download Assistant also placed the setup files you need to install Unity on offline computers. To confirm that the download of these files was successful, do the following:

  1. Open your file manager application.

  2. Go to the folder you specified when selecting the location for storing installation files during the Download Assistant setup.

  3. Confirm that an install.sh or install.bat file is inside that folder.

    If this folder is empty, or missing an install.sh or install.bat file, repeat the main procedure. Make sure you specify an explicit location for installation files, rather than accepting the default location.

  4. Check the contents of the install.sh or install.bat file to make sure they resemble the following example:

    Sample contents of an install.bat file (Windows)
    Sample contents of an install.bat file (Windows)

Install Unity on the offline computer

  1. Transfer the folder that includes all the downloaded installation files and the install.sh or install.bat file from the first computer to the offline computer.

  2. On the offline computer, run the install.sh or install.bat file:

    • On macOS:
      1. Open Terminal.
      2. Go to the folder that contains the install.sh file.
      3. Run sudo ./install.sh. This command prompts you for your password, which doesn’t appear on the screen as you type it.
    • On Windows:
      1. In the Start menu, search for cmd.exe.
      2. Right-click Command Prompt.
      3. Select Run as administrator.
      4. Go to the folder that contains the install.bat file.
      5. Run install.bat.
  3. Confirm that the script installed the Unity Editor on this computer.

    • On macOS, the default location is Applications/Unity.
    • On Windows, the default location is C:\Program Files\Unity <version>.
  4. Repeat these steps on other offline computers if needed.

Activate a license on the offline computer

After you install the Unity Editor on the offline computer, its user needs to activate their license on that computer by using the manual activation method.

Install Unity from the command line
Deploy Unity across your enterprise