Extract your .unitypackage
This is a fork of Cobertos/unitypackage_extractor (base v1.1.0), maintained by To0TurNT. See the full list of changes in CHANGELOG.md. Highlights over upstream:
- Two-phase progress readout — live
Unpacking …thenExtracting … <asset>instead of one line per file..metafiles are extracted alongside each asset (and for folders), so re-importing into Unity preserves the original GUIDs.- Cross-drive extraction fixed (
WinError 17/WinError 5) — the scratch dir is created on the same volume as the output.- Overwrites on re-extract instead of failing, including read-only files.
- More robust — survives non-ASCII asset names, malformed
pathnameentries, and sweeps stranded scratch dirs.- Console stays open on error for the standalone
.exe/ shell verb, so the traceback is readable.
- Download the unitypackage_extractor.zip from the Releases tab (
x64for most machines,x86for 32-bit). - Extract into a new directory
- Drag and drop your
.unitypackageontoUnityPackageExtractor.exeOR - Run from the command line with
UnityPackageExtractor.exe [path/to/your/package.unitypackage] (optional/output/path)
To extract a .unitypackage straight from Explorer with a right-click Extract Unitypackage entry:
- Place the executable at
C:\tools\UnityPackageExtractor.exe(create thetoolsfolder if needed). To use a different location, edit the path inside the.regfirst. - Double-click
optional/unitypackage_extractor.regand confirm the prompt to merge it into the registry. - Right-click any
.unitypackage→ Extract Unitypackage. It extracts next to the package.
To remove the entry later, delete the HKEY_CLASSES_ROOT\SystemFileAssociations\.unityPackage\shell\Unitypackage_Extractor key (e.g. with the included uninstall .reg or regedit).
-
pip install unitypackage_extractor -
From the command line
python -m unitypackage_extractor [path/to/your/package.unitypackage] (optional/output/path) -
OR in your Python file:
from unitypackage_extractor.extractor import extractPackage
extractPackage("path/to/your/package.unitypackage", outputPath="optional/output/path")See CONTRIBUTING.md.
Original project by Cobertos — see Cobertos/unitypackage_extractor. Licensed under MIT.
