UnityPack icon indicating copy to clipboard operation
UnityPack copied to clipboard

Decompression failed:

Open nopa607 opened this issue 3 years ago • 7 comments

i try to decpress an asset, then i get this problem. how to figure it out?

unitypack\utils.py", line 10, in lz4_decompress return decompress(data, size) _block.LZ4BlockError: Decompression failed: corrupt input or insufficient space in destination buffer. Error code: 222

this is my assetbundle, thanks! enemies.zip

nopa607 avatar Jul 26 '21 11:07 nopa607

i found that unitypack can run well in the assetBundle that packing by the untiy2018, however, it crashed in the case of untiy2019 and untiy2020; Does anyone else have this problem?

nopa607 avatar Jul 28 '21 03:07 nopa607

I personally haven't run into this problem, but the file you provided indeed does cause this error. The most likely cause is that Unity changed the type of compression in Unity2019.

Solution: Patch utils.py and assetbundle.py to provide decompression for whatever they came up with this time.

I encountered the same problem, is it solved now?

diewu0421 avatar Sep 22 '21 13:09 diewu0421

I encountered the same problem, is it solved now?

you can try AssetStudio or AssetTool

nopa607 avatar Sep 24 '21 02:09 nopa607

Experiencing this same issue. Non-CLI utilities not an option in my case.

GiovanH avatar Oct 22 '21 01:10 GiovanH

I have this issue since the latest HS version (updates to Unity 2019.4.21f1). Has anyone a fix for it?

sebastientromp avatar Nov 02 '21 18:11 sebastientromp

@robert-nix Hey Robert, sorry for the ping, but the repo doesn't seem too much maintained anymore, so I'm trying my last card :) Does this issue ring any bell to you? Would you be able to know what is wrong? Thanks a lot for your help :)

sebastientromp avatar Nov 03 '21 10:11 sebastientromp