ata4 / disunity

An experimental toolset for Unity asset and asset bundle files.
The Unlicense
2.69k stars 662 forks source link

DisUnityCli: Fatal error - while Unpacking #167

Open ankilla opened 8 years ago

ankilla commented 8 years ago

When used V0.5.0 unpacking a unity file I got the following error java -jar "%~dp0\disunity.jar" bundle unpack unity.unity3d

[error] DisUnityCli: Fatal error, caused by java.lang.IllegalArgumentException: Self-suppression not permitted at java.lang.Throwable.addSuppressed(Unknown Source) at info.ata4.disunity.cli.command.bundle.BundleCommand.runFileRecursive(BundleCommand.java:35) at info.ata4.disunity.cli.command.RecursiveFileCommand.runFile(RecursiveFileCommand.java:52) at java.util.ArrayList.forEach(Unknown Source) 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) Caused by: java.io.IOException: Stream is too short at info.ata4.io.lzma.LzmaDecoderProps.fromInputStream(LzmaDecoderProps.java:31) at net.contrapunctus.lzma.DecoderThread.run(DecoderThread.java:53)

When used V0.3.4 unpacking a unity file I got the following error java -jar "%~dp0\disunity.jar" bundle-extract unity.unity3d

[info] DisUnity v0.3.4 [info] unity.unity3d [info] Uncompressing asset bundle, this may take a while [error] DisUnityCli: Fatal error, caused by java.nio.BufferUnderflowException at java.nio.ByteBuffer.get(Unknown Source) at java.nio.DirectByteBuffer.get(Unknown Source) at java.nio.ByteBuffer.get(Unknown Source) at info.ata4.util.io.lzma.LzmaBufferUtils.decode(LzmaBufferUtils.java:45) at info.ata4.unity.asset.bundle.AssetBundle.load(AssetBundle.java:104) at info.ata4.io.file.FileHandler.open(FileHandler.java:28) at info.ata4.unity.cli.cmd.AssetCommand.processAssetBundleFile(AssetCommand.java:106) at info.ata4.unity.cli.cmd.AssetCommand.processFile(AssetCommand.java:86) at info.ata4.unity.cli.cmd.FileCommand.processPath(FileCommand.java:58) at info.ata4.unity.cli.cmd.FileCommand.run(FileCommand.java:76) at info.ata4.unity.cli.DisUnityCli.run(DisUnityCli.java:110) at info.ata4.unity.cli.DisUnityCli.main(DisUnityCli.java:12

ankilla commented 8 years ago

@ata4 any info about the above error

TempoTurtle commented 7 years ago

I have the same problem! Please help!