jaime-olivares / zipstorer

A Pure C# Class to Store Files in Zip
MIT License
183 stars 63 forks source link

Do not support Unity on Android #20

Closed huijian142857 closed 7 years ago

huijian142857 commented 7 years ago

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

huijian142857 commented 7 years ago

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.