Course contentsShow
← Unity Game Development
Lesson 1 of 8281. Unity FoundationsFree lesson

Managing Unity Versions with Unity Hub

Learners will be able to install, update, and switch between multiple Unity engine versions to ensure project compatibility across different development environments.

In this lesson, you will learn how to use Unity Hub to manage multiple engine versions so your projects always run on the correct software.

Why manage versions?

Unity is a complex engine that receives frequent updates. Sometimes, a project created in one version (like 2022.3 LTS) might behave differently or break if opened in a newer version (like 6000.0). By using Unity Hub, you can keep several different versions of Unity installed on your computer simultaneously, ensuring that each project stays compatible with the version it was built in.

Installing and Switching Versions

Unity Hub acts as the "control center" for your development environment. You don't need to uninstall old versions to try new ones; you simply add them to your collection.

  1. Installing a new version: Open Unity Hub and click the Installs tab on the left sidebar. Click the blue Install Unity button. You will see a list of available versions. Selecting one will begin the download process for that specific engine release.
  2. Assigning a version to a project: When you open an existing project from the Projects tab, Unity Hub checks which version was last used to save that project. If you have that version installed, it will open automatically. If you don't, or if you want to upgrade, click the version number next to the project name in the Hub. This opens a dropdown menu where you can "re-target" the project to any other installed version.

A Practical Scenario

Imagine you are working on a team project that uses 2022.3.15f1. Your friend sends you a new project that uses 6000.0.2f1. Instead of choosing one over the other, you keep both listed in your Installs tab. When you click the project in the Projects tab, Unity Hub ensures the correct engine is launched so that your scripts, assets, and settings remain perfectly synced with the project’s requirements.

Key Takeaway: Unity Hub allows you to maintain multiple versions of the engine side-by-side, giving you the flexibility to work on different projects without risking compatibility errors.