No history yet

Unity Installation

Setting Up Your Workshop

Before you can build a game, you need to set up your digital workshop. For Unity development, this involves two key pieces of software: the Unity Hub and the Unity Editor. We'll also set up a code editor called Visual Studio, which works hand-in-hand with Unity.

Think of the Unity Hub as a manager for all your projects and tools. Game development projects can get complex, and you might find yourself working on different games that use different versions of the Unity Editor. The Hub keeps everything organized in one place, making your life much easier.

Install Unity Hub and the Editor

First, head to the official Unity download page and download Unity Hub for your operating system (Windows, Mac, or Linux). Once the download is complete, run the installer and follow the on-screen prompts. It's a standard installation process.

After installing, open Unity Hub. You'll be prompted to sign in with a Unity ID. If you don't have one, you can create one for free. This is required to get your software license. For learning purposes, the free Personal license is all you need.

With the Hub open and your account set up, it's time to install the main event: the Unity Editor. This is the application where you'll build your game worlds, write code, and assemble your game assets.

  1. In the Unity Hub, find the Installs tab on the left.
  2. Click the Install Editor button.
  3. You'll see a list of available Editor versions. It's best to choose the latest version labeled (LTS), which stands for Long-Term Support. These versions are the most stable and receive support from Unity for an extended period.
Lesson image

During the installation, you'll be asked to add modules. Modules add functionality to your Unity installation, like the ability to build games for different platforms (like Android or iOS). The most important one to select now is your code editor, also known as an IDE (Integrated Development Environment).

Make sure to check the box next to Microsoft Visual Studio Community. This will install the IDE and automatically link it to Unity.

Once you've selected Visual Studio, click Continue and agree to any terms and conditions. The download and installation will take some time, as the files are quite large. Once it's finished, you’ll see the new Editor version listed under your Installs tab.

Confirming the Setup

With everything installed, let's make sure Unity knows to use Visual Studio for editing code. This connection is usually made automatically, but it's always good to check.

  1. In Unity Hub, go to the Projects tab and click New project.
  2. Choose a template (the 2D (URP) or 3D (URP) Core templates are good starting points) and give your project a name.
  3. Click Create project. The Unity Editor will open, which may take a few minutes for the first time.
  4. Once the Editor is open, go to the top menu and select Edit > Preferences (on Windows) or Unity > Settings (on Mac).
  5. In the new window, select the External Tools tab.
  6. Check that the External Script Editor is set to Visual Studio. If not, use the dropdown menu to select it.

Your development environment is now ready. The Unity Hub will manage your projects and Editor versions, and the Unity Editor is linked to Visual Studio, ready for you to start writing scripts.

Quiz Questions 1/5

What is the primary function of the Unity Hub?

Quiz Questions 2/5

When installing a new Unity Editor version, which release is generally recommended for its stability and extended support?

You've successfully set up your digital workshop. Now you have the core tools needed to start bringing your game ideas to life.