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

Introduction

The first step is to install the Uni­ty engine and the nec­es­sary tools to start devel­op­ing video games and appli­ca­tions. In this arti­cle we will review the fun­da­men­tal steps to install and con­fig­ure the Uni­ty engine, and we will also make a "stand­alone" com­pi­la­tion for Win­dows, that is, a ver­sion of the project that can be exe­cut­ed with­out the Uni­ty engine.

CHECK OUT THIS CRAZY EXPERIMENT

How to install Unity engine and tools for different platforms

Step 1: Download and install Unity HUB

Uni­ty HUB is an appli­ca­tion that allows us to man­age the dif­fer­ent ver­sions of Uni­ty, its mod­ules and the projects we do. Uni­ty HUB can be down­loaded by click­ing on this link. The fol­low­ing image is a screen­shot of the pre­vi­ous link, click­ing on the "Down­load Uni­ty Hub" but­ton starts the down­load of the application.

download unity hub to install unity, modules and manage projects
Fig. 1: The Uni­ty HUB appli­ca­tion can be down­loaded from the link above.

Step 2: Install Unity engine version

Once Uni­ty HUB is installed, open it and go to the "Installs" sec­tion, as shown in fig­ure 2.

unity hub projects window to manage projects made with unity
Fig. 2: In the "Installs" sec­tion you can add new ver­sions of Uni­ty and add mod­ules to already installed versions.

The "Installs" sec­tion con­tains the already installed ver­sions of the engine, we can remove them, add mod­ules and also add new ver­sions of Uni­ty using the "Add" but­ton as shown in fig­ure 3.

unity hub installs window to manage the different versions of the unity engine and its modules
Fig. 3: With the Add but­ton a new ver­sion of the Uni­ty engine can be installed.

This dis­plays a win­dow where you can choose the engine ver­sion. The ver­sions that have "(LTS)" are the most sta­ble ver­sions of the engine, I usu­al­ly install the lat­est offi­cial ver­sion of Uni­ty and also the lat­est LTS ver­sion, if it is an impor­tant project I use the latter.

window to install a new version of the unity engine
Fig. 4: In this win­dow the ver­sion of the Uni­ty engine to be installed is selected.

Step 3: Adding modules to the Unity version

Mod­ules extend the func­tion­al­i­ty of Uni­ty and can be added at any time, not nec­es­sar­i­ly at the time Uni­ty is installed.

Visu­al Stu­dio is the offi­cial script edi­tor used with Uni­ty, although oth­er edi­tors can be used if preferred.

window to add modules to a version of the unity engine
Fig. 5: Add mod­ules to the Uni­ty engine. Visu­al Stu­dio mod­ule for edit­ing scripts is selected.

Depend­ing on our tar­get plat­form will be the mod­ules that we have to install, by default the engine exports for the Win­dows oper­at­ing system.

If you want to export for Android mobiles and pub­lish games and appli­ca­tions on Google Play, you need the mod­ules shown in Fig­ure 6: Android Build Sup­port, Android SDK & NDK Tools and the Open­JDK mod­ule. If you want to export games and appli­ca­tions 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 Sup­port module.

android module for unity to compile games and applications for android, google play
Fig. 6: Android mod­ule for export­ing Android games and appli­ca­tions with Unity.
webgl module for unity to compile games and applications for browsers
Fig. 7: WebGL mod­ule for export­ing games and brows­er appli­ca­tions with Unity.

Once the mod­ules are cho­sen, click the Next but­ton, accept the terms and con­di­tions and the instal­la­tion begins.

Step 4: Finish installation and create new project

When the instal­la­tion is fin­ished, the new ver­sion appears in the "Installs" tab (fig­ure 3), by click­ing on the three dots in the upper right cor­ner of each ver­sion you can add new mod­ules or delete the version.

Now if we go to the "Projects" sec­tion we can cre­ate a new project using the "New" but­ton or the arrow on the right, this last action allows us to choose the engine ver­sion to cre­ate the new project, as shown in fig­ure 9.

unity hub projects window to manage projects made with unity
Fig. 8: Uni­ty project man­age­ment window.
create a new project from unity hub
Fig. 9: But­ton to cre­ate a new project by select­ing the Uni­ty engine ver­sion to be used.

When cre­at­ing a new project, the win­dow shown in Fig­ure 10 opens, there we can give the project a name, choose the tem­plate that best suits what we want to do, choose the loca­tion of the project files and final­ly cre­ate the project with the "Cre­ate" button.

window to create a new unity project from unity hub
Fig. 10: Ini­tial con­fig­u­ra­tion of a project in Unity.

YouTube
Scroll to Top
Secured By miniOrange