Hi,
My main developement computer has broke, and am waiting to get a replacement. The computer I am working on cannot run Unity, but I need to extract a file from a unitypackage.
How can I do this?
Hi,
My main developement computer has broke, and am waiting to get a replacement. The computer I am working on cannot run Unity, but I need to extract a file from a unitypackage.
How can I do this?
JUST USE 7-ZIP!
Uncompress the unitypackage using a LZMA decompressor, then unzip the resulting file.
quote
They’re just normal files, identical to whatever the asset was originally.
unquote
open the ‘pathname’ with a text editor it will tell you what ‘asset’ is, then rename it.
There is an “Extract Unitypackage” tool that can help you, you can find it from http://www.convertzone.com/extract_unitypackage
They are also standard .tgz or .tar.gz files, which can be handled by a multitude of standard tools, 7z included. If you’re on Mac or Linux
tar zxf foo.unitypackage
(but do it inside an empty directory, because it’s messy)
If you need to bulk decompress and rename a lot of files inside a .unitypackage
, I wrote a package extractor that might help.
There’s both a Python version and an .exe included