This is a Unity Editor tool that allows easy export of an entire Unity project to a Zip file, directly from the Unity Editor file menu.
- Getting Started
- Technical Details
- Compatibility
- Known Issues
- About the Project
- Contact
- Version History
- License
Import this lightweight package to your project (or manually add the scripts to an Editor folder in the Assets folder), and you’re ready to zip!
To use it:
- Simply select "Export Project to Zip..." from the file menu (Ctrl+Alt+S).
- If your project or your scene needs saving, you will be prompted to save (optional).
- Then choose the name and location for the Zip file.
- Sit back and watch the progress bar as the compression is done (can be cancelled).
That's it!
- Integrates directly in the file menu
- Detects if scene or project needs saving
- Adds only the required project files to the archive*
- Compression can be cancelled
- Compatible with both Mac and Windows
- No additional software needed
* Excludes all zip files at the top level of the project, and also excludes the following folders: .git, Build/Builds folders (this can be changed in Project Settings), Library, Logs, Obj, Temp. However, it preserves two files from the Library folder: LastSceneManagerSetup.txt (which stores the last accessed scene) and EditorUserBuildSettings.asset (which stores the build settings). Note that other Library files can be recreated by Unity.
Tested on Mac and Windows with Unity versions 2022.3.6 (LTS), 2021.3.16 (LTS), 2022.2.1 and 2022.1.11. Projects larger than 8 GB were compressed successfully.
- The progress bar could be more responsive when compressing (Unity editor bug).
- If the project contains large files, the export may take a long time.
I created this tool to help my students move their Unity projects between computers and to make it easier for them to hand in their assignments. As a teacher, I noticed that the huge size of the Library folder in a Unity project can be difficult to manage for new users. While the Library folder can be recreated if deleted, it is not an intuitive process for those unfamiliar with Unity.
This tool simplifies the transfer and submission of Unity projects, making it easier for my students to focus on learning and creating. It can also be useful for seasoned game developers!
Jonathan Tremblay
Teacher, Cegep de Saint-Jerome
jtrembla@cstj.qc.ca
Project Repository: https://github.com/JonathanTremblay/UnityExportToZip
Unity Asset Store: https://assetstore.unity.com/packages/tools/utilities/export-project-to-zip-243983
- 1.1.0
- Added settings to allow inclusion of Build or Builds folders, and control the renaming of the root folder.
- Added an exception to keep Build Settings from the Library folder.
- 1.0.3
- Added a shortcut (Ctrl+Alt+S) and fixed a compilation bug during build process.
- 1.0.2
- Fixed an issue where certain top-level files (starting with excluded folder names) were not included (notably .gitignore).
- 1.0.1
- Made minor changes to folder naming and exclusions.
- Changed the default folder name inside the archive to use the archive name.
- Added an option flag at the beginning the code to keep the original project name.
- Added an option flag to exclude Build/Builds folders.
- Added Obj to folder exclusions.
- Added .sln to file exclusions.
- Reorganized the project to follow the Packages folder standards.
- Added support for installing the package from a Git repository.
- 1.0.0
- Revised readme, added a namespace, and improved Mac compatibility.
This tool is available for distribution and modification under the CC0 License, which allows for free use and modification.
https://creativecommons.org/share-your-work/public-domain/cc0/