Skip to content

Create unitypackages without unity, from command line 📦

License

Notifications You must be signed in to change notification settings

ogxd/unity-packer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityPacker

UnityPacker is a collection of a library and small command line tools that can create, unpack and inspect UnityPackage files without a Unity installation. It is great for automated builds of Unity tools.

Screenshot

Tested on Unity 2018.3 and 2019.1.0f2

This repository was initially forked from FatihBAKIR/UnityPacker and then heavily refactored.

How to create .unitypackage

./UnityPacker mode pack folder "." package "Samples" root "Assets/Plugins/Product/Samples" ignore "(Plugins\\.*|unitypackage|exe|exe|cmd)$"

This example will produce a Samples.unitypackage from the contents current directory recursively in the current directory.

It can omit files or directories from regex more using the ignore option.

Meta files are kept or generated if missing.

How to extract .unitypackage

./UnityPacker mode unpack package "Samples.unitypackage" destination "."

This example will unpack the Samples.unitypackage to the working directory, with proper directory structure.

About

Create unitypackages without unity, from command line 📦

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%