Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Error when bundle extracting with property file #228

Description

@davidferguson

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 is unpacked

Running the command ./disunity.sh bundle unpack --output unpacked --prop main.unity3d gives me the output:

thelabKunaiEngine.dll
thelabForgeEngine.dll
aquirisSplatPainterEngine.dll
UnityScript.Lang.dll
System.Xml.dll
Boo.Lang.dll
Assembly-UnityScript.dll
Assembly-UnityScript-firstpass.dll
Assembly-CSharp.dll
Assembly-CSharp-firstpass.dll
sharedassets0.assets
resources.assets
mainData
sharedassets1.assets
level0
[error] DisUnityCli: Fatal error, caused by java.lang.NullPointerException
	at info.ata4.disunity.cli.command.bundle.BundleUnpack.runFile(BundleUnpack.java:102)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at info.ata4.disunity.cli.command.FileCommand.run(FileCommand.java:32)
	at info.ata4.disunity.cli.command.Command.run(Command.java:50)
	at info.ata4.disunity.cli.command.Command.run(Command.java:50)
	at info.ata4.disunity.cli.command.DisUnityRoot.run(DisUnityRoot.java:62)
	at info.ata4.disunity.cli.DisUnityCli.main(DisUnityCli.java:46)```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions