Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decompression failed: #104

Open
nopa607 opened this issue Jul 26, 2021 · 7 comments
Open

Decompression failed: #104

nopa607 opened this issue Jul 26, 2021 · 7 comments

Comments

@nopa607
Copy link

nopa607 commented Jul 26, 2021

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
Copy link
Author

nopa607 commented Jul 28, 2021

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?

@j5rlLqM-rvsrY96V-GpVJP0F-IZFesRzy-ShMoz

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.

@diewu0421
Copy link

I encountered the same problem, is it solved now?

@nopa607
Copy link
Author

nopa607 commented Sep 24, 2021

I encountered the same problem, is it solved now?

you can try AssetStudio or AssetTool

@GiovanH
Copy link

GiovanH commented Oct 22, 2021

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

@sebastientromp
Copy link

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

@sebastientromp
Copy link

@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 :)

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

No branches or pull requests

5 participants