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.