Archiving a Unity 5 Source Project
This page describes the process for archiving a Unity 5 project and its dependencies on Windows, so that it can be preserved independently of a specific computer system.
Last updated
This page describes the process for archiving a Unity 5 project and its dependencies on Windows, so that it can be preserved independently of a specific computer system.
Last updated
Work in progress!
One way of preparing for the preservation of an application made in Unity 5, is to archive the project files associated with it. Executable software is created from a Unity project by exporting an application that supports the target platform. By archiving an Unity project, we aim to gather together all the materials required to carry out to repeat this build process. This opens up options for incremental migration to new versions of Unity, and the modification of code to support other hardware and software platforms.
To build an Unity project, you need the following components, guidance on the archiving of which is provided on this page:
Project folder: the collection of custom Unity content and project files
Unity Editor: software which allows you to open and edit a Unity project folder
Dependencies: any additional software not included with the engine binaries or project by default e.g. libraries, modules
#
The Unity Editor software can be installed using the Unity Hub software or from the intallers distributed via the Unity Download Archive.
Before proceeding, you will need to identify the version of the Unity Editor the project was created with. To do so, navigate to the ProjectSettings folder within the project folder and open the file named ProjectVersion.txt (tested in 2018.3.9).
1. Install Unity Hub on a suitable computer and navigate to the Installs tab.
2. Click Install Editor and select the appropriate editor version. If the appropriate version is not available, you will need to install it use the Unity Download Archive method.
You may also wish to install additional modules to improve build support.
3. Return to the previous Installs tab, click on the cog icon next to the Editor entry you wish to archive, and click on Show in Explorer.
4. In the Window which opens, you will be looking inside the application directory for the Unity Editor version. This folder can be archived and used to access the Editor independently of the Unity Hub installer.
There are two common ways of extending the functionality of Unity which you may find have been used: Modules and Packages.
Modules extend core features, and includes options to build for non-Windows platforms. Unfortunately, if any non-standard modules have been used by the project your only option is to use the Unity Hub application to download and install these.
Packages are handled by the Unity package manager module and are included in the project folder once they have been added.