Open davidferguson opened 7 years ago
There's a few parts of disunity that don't like relative paths, and it looks like this is one of them. That line is
Path propsFile = outputDir.getParent().resolve(bundleName + ".json");
so I'd guess it's outputDir.getParent()
that's null. Try specifying at least --output
as an absolute path (or possibly .\unpacked
will do).
I'm trying to extract, modify and then pack a .unity3d webplayer bundle. Looking at the readme, I need to unpack with the
--prop
option to generate a bundle property file which is needed to repack the bundle. However, when I use the--prop
option, I get an error. The files are extracted, however no property file is created.My file is
main.unity3d
, the output folder isunpacked
Running the command
./disunity.sh bundle unpack --output unpacked --prop main.unity3d
gives me the output: