CLI Tool

Export unity packages instantly.

Stop waiting for Unity to open. Create .unitypackage files directly from the command line with zero dependencies.

What is Unity Package Exporter?

It's a high-performance Command Line Interface (CLI) tool designed for modern development workflows.

Exporting a package requires launching the Unity Editor, a slow and hard to automate process. Our tool bypasses the engine entirely, building packages in seconds.

  • No Unity Editor installation required
  • Perfect for GitHub Actions & GitLab CI
  • 100% compatible with standard .unitypackage format
Benchmark Comparison
MethodTime
Unity Editor~5.0m
Unity Package Exporter~10.0s

Built for speed and reliability

We solved the pain points of automated exports so you can ship faster.

Fast
Performance

Parallel processing handles assets in seconds. No startup time.

CI/CD
Automation

Designed for headless environments. Runs on standard runners without GPU or Display.

Safe
Reliability

Automatically finds referenced materials and scripts so you never ship broken assets.

Getting started in 60 seconds

1

Install .NET 8 SDK

Ensure you have the latest .NET 8 SDK installed.

Download .NET 8
2

Get the Tool

You can either download the pre-built release or build it yourself.

Option A: Download Release

Get the latest binary for your platform (Windows, macOS, Linux).

View GitHub Releases

Option B: Build from Source

Clone the repository and build using the .NET CLI.

Terminal
# Clone repo
git clone https://github.com/Guardingpearsoftware/public-unity-package-exporter.git
# Build
dotnet build -c Release
3

Run Your First Export

Point the tool at your Assets folder and specify an output file.

Bash
dotnet UnityPackageExporter.dll ./Assets/MyGame output.unitypackage

Advanced usage

Unlock the full power of the CLI with glob patterns and flags.

Exclusion Patterns

Exclude documentation and tests to keep your package clean.

--exclude "**/Documentation/**" --exclude "**/Tests/**"

CI/CD Mode

Skip dependency checks if you know exactly what you need.

--skip-dependency-check

Integration Example

Add this to your .github/workflows/build.yml

GitHub Action
- name: Create Package run: | dotnet tool/build/UnityPackageExporter.dll . package.unitypackage \ --assets "Assets/MyTool/**" \ --exclude "**/Tests/**"

Troubleshooting

Missing .meta files

Unity requires .meta files to link assets. If you see warnings, ensure your .gitignore includes them and they are committed.

Access Denied

If the tool fails to write, check your folder permissions. In CI/CD, ensure the output path exists in the workspace.
FAQ

Frequently asked questions

Everything you need to know about the tool.

Still have questions?

Our team is happy to help you.

Open Source

Ready to automate your release process?

Join us saving hours every month with package exporter.

MIT License • Free for commercial use