Installing Unity from Unity HUB 2021 – Unity Engine Basic Management Series

Introduction

The first step is to install the Unity engine and the necessary tools to start developing video games and applications. In this article we will review the fundamental steps to install and configure the Unity engine, and we will also make a “standalone” compilation for Windows, that is, a version of the project that can be executed without the Unity engine.

How to install Unity engine and tools for different platforms

Step 1: Download and install Unity HUB

Unity HUB is an application that allows us to manage the different versions of Unity, its modules and the projects we do. Unity HUB can be downloaded by clicking on this link. The following image is a screenshot of the previous link, clicking on the “Download Unity Hub” button starts the download of the application.

download unity hub to install unity, modules and manage projects
Fig. 1: The Unity HUB application can be downloaded from the link above.

Step 2: Install Unity engine version

Once Unity HUB is installed, open it and go to the “Installs” section, as shown in figure 2.

unity hub projects window to manage projects made with unity
Fig. 2: In the “Installs” section you can add new versions of Unity and add modules to already installed versions.

The “Installs” section contains the already installed versions of the engine, we can remove them, add modules and also add new versions of Unity using the “Add” button as shown in figure 3.

unity hub installs window to manage the different versions of the unity engine and its modules
Fig. 3: With the Add button a new version of the Unity engine can be installed.

This displays a window where you can choose the engine version. The versions that have “(LTS)” are the most stable versions of the engine, I usually install the latest official version of Unity and also the latest LTS version, if it is an important project I use the latter.

window to install a new version of the unity engine
Fig. 4: In this window the version of the Unity engine to be installed is selected.

Step 3: Adding modules to the Unity version

Modules extend the functionality of Unity and can be added at any time, not necessarily at the time Unity is installed.

Visual Studio is the official script editor used with Unity, although other editors can be used if preferred.

window to add modules to a version of the unity engine
Fig. 5: Add modules to the Unity engine. Visual Studio module for editing scripts is selected.

Depending on our target platform will be the modules that we have to install, by default the engine exports for the Windows operating system.

If you want to export for Android mobiles and publish games and applications on Google Play, you need the modules shown in Figure 6: Android Build Support, Android SDK & NDK Tools and the OpenJDK module. If you want to export games and applications that work in browsers, on pages such as Itch.io or on a web page of your own, you need to install the WebGL Build Support module.

android module for unity to compile games and applications for android, google play
Fig. 6: Android module for exporting Android games and applications with Unity.
webgl module for unity to compile games and applications for browsers
Fig. 7: WebGL module for exporting games and browser applications with Unity.

Once the modules are chosen, click the Next button, accept the terms and conditions and the installation begins.

Step 4: Finish installation and create new project

When the installation is finished, the new version appears in the “Installs” tab (figure 3), by clicking on the three dots in the upper right corner of each version you can add new modules or delete the version.

Now if we go to the “Projects” section we can create a new project using the “New” button or the arrow on the right, this last action allows us to choose the engine version to create the new project, as shown in figure 9.

unity hub projects window to manage projects made with unity
Fig. 8: Unity project management window.
create a new project from unity hub
Fig. 9: Button to create a new project by selecting the Unity engine version to be used.

When creating a new project, the window shown in Figure 10 opens, there we can give the project a name, choose the template that best suits what we want to do, choose the location of the project files and finally create the project with the “Create” button.

window to create a new unity project from unity hub
Fig. 10: Initial configuration of a project in Unity.

Scroll to Top
Secured By miniOrange