The Unity Download Assistant supports offline deployment. Use the Download Assistant to download files to install Unity and to generate a script to repeat the installation on other computers without internet access.
For more information about how to activate Unity manually, refer to the Unity Manual Activation Guide.
To complete these steps, you need:
On the computer with internet access, go to the following website:
https://unity3d.com/get-unity/download/archive
Select the downloads tab for the operating system of the offline computer and version of Unity you need.
Select Unity Installer.
Proceed through installation, and select any build support options you want.
Download the files to defined location, such as the Downloads folder, instead of to a temporary location.
To confirm the download succeeded, do the following:
.sh
or .bat
file is inside that folder.Copy all the downloaded files to the offline computer. If the offline computer has a Windows operating system:
.bat
file from the Administrator shell:
cmd.exe
.cd C:\Users\[YourName]\Download\UnityPackages
).If this offline computer has an OSX operating system:
.sh
file.sudo install.sh
.cd ~/Downloads/UnityPackages
).Repeat these instructions as many times as you need to for each computer on which you need to install Unity.
After Unity is installed, open Unity through the desktop shortcut.
Follow the manual activation instructions to activate your license on an offline computer.
As a part of the downloaded files from the Unity Download Assistant is a file “UnityHubSetup.exe”. Run this file on the offline machine to install Unity Hub. Unity Hub assists in managing your Unity Projects and Editor Installations.
To locate the existing Unity installation, navigate to the “Unity.exe” installed previously. For example:
C:\Program Files\Unity XXXXXX\Editor\Unity.exe (Default Unity install path without the Hub)
または
C:\Program Files\Unity\Hub\Editor\20XXXX\Editor\Unity.exe (Default Unity install path with the Hub)
To deactivate the Welcome screen:
If you’ve never set up a services-config.json file before, you need to create both the config directory and the services-config.json file:
Inside this file, add the following option:
{
"hubDisableWelcomeScreen": true
}