Create a Unity Project

Let’s build something together.

Create a Unity project

To begin, let’s create a 3D Unity project:

  1. On Unity Hub, select Projects from the left menu.
  2. Select the New button on the top-right corner.Unity Hub New project buttonThe Create a new project with Unity dialog appears.
  3. Select the 3D template and name the project 3DCube. If you’d like to change where the project will be saved, change the Location settings. Then, select the Create button.Unity Hub prompt to choose a project type and nameA new project is created, and Unity opens when the project finishes loading.

Set the default code editor in Unity

Once Unity loads your project, things should work as intended, but let’s check to see if Unity is using the correct installation of Visual Studio.

  1. On the menu bar, select Edit > Preferences.Unity's preferences under the Edit menuThe Preferences dialog appears.
  2. Select the External Tools tab. From the External Script editor drop-down list, choose Visual Studio 2019.Unity's preferences dialog window with Visual Studio 2019 chosen as the external editor