askvity

How do I remove a Unity project from a disk?

Published in Unity Project Management 4 mins read

To completely remove a Unity project from your computer's disk, you need to perform two main actions: first, remove it from the Unity Hub list, and second, manually delete the project files from their location on your hard drive.

Understanding Project Removal

It's important to distinguish between removing a project from the Unity Hub's list of recent projects and actually deleting the project's files from your storage drive. The Unity Hub helps manage your projects, but it doesn't automatically delete the project's files when you remove it from the list.

The provided reference clarifies this: Select Remove project from list from the dropdown, then select Remove project to confirm. This removes the project from the Hub, but the files remain on your machine. To remove the files, you need to navigate to the file path of the project and manually delete the project files.

Step-by-Step Guide to Removing a Unity Project

Here are the steps to ensure a Unity project is removed from both the Unity Hub and your disk:

Step 1: Remove the Project from Unity Hub (Optional but Recommended)

Removing the project from the Unity Hub helps keep your list clean.

  1. Open the Unity Hub.
  2. Navigate to the Projects tab.
  3. Find the project you want to remove in the list.
  4. Click the three vertical dots (⋮) or the gear icon next to the project name.
  5. From the dropdown menu, select Remove project from list.
  6. A confirmation prompt will appear. Select Remove project to confirm.

Note: As the reference states, performing this step only removes the project from the Hub's list. The project files are still present in their original folder on your disk.

Step 2: Manually Delete the Project Files from Your Disk

This is the crucial step for removing the project from your disk storage.

  1. Locate the Project Folder: You need to find the folder where your Unity project is stored on your computer.
    • If you just removed it from the Unity Hub list, you might still remember its location.
    • If not, you can find the file path by right-clicking the project in the Unity Hub (before removing it from the list) and selecting "Show in Explorer" (Windows) or "Reveal in Finder" (macOS). If you've already removed it, you'll need to browse your file system to find the location you saved it to. Common locations are within your Documents folder or a dedicated "Unity Projects" folder.
  2. Navigate to the Project's Parent Folder: Open your file explorer (like File Explorer on Windows or Finder on macOS) and go to the directory that contains the project folder.
  3. Delete the Project Folder: Select the entire folder belonging to your Unity project. This folder typically contains subfolders like Assets, Library, Packages, and ProjectSettings.
  4. Delete the Folder: Press the Delete key or right-click the folder and select Delete.
  5. Empty the Recycle Bin/Trash: To completely free up the disk space, you should also empty your computer's Recycle Bin (Windows) or Trash (macOS) after deleting the project folder.

Following these two steps ensures the project is no longer listed in your Unity Hub and its files are removed from your hard drive.

Related Articles