jaime-olivares / zipstorer

A Pure C# Class to Store Files in Zip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not support Unity on Android

huijian142857 opened this issue · comments

Unable to find MonoPosixHelper
DllNotFoundException: MonoPosixHelper
at System.IO.Compression.DeflateStream:CreateZStream
at System.IO.Compression.DeflateStream..ctor
at System.IO.Compression.DeflateStream..ctor
at System.IO.Compression.DeflateStream:.ctor
at System.IO.Compression.ZipStorer.ExtractFile (ZipFileEntry _zfe, System.String _filename)

So better to use SharpZipLib

After change unity build settings to IL2cpp, this exception disappears.
The only problem is that, I have to use stream way to decompress the file in the streamingAssets ,
but this is the unity's problem. So I worry about the memory useage.