Broken GZIP! since 2009

Shocking to me that this can still be broken.
It compiles with the code.
using System.IO.Compression;

FileStream fileStream = new FileStream(filename, FileMode.Create, FileAccess.Write);
GZipStream compressionStream = new GZipStream(fileStream, CompressionMode.Compress);
StreamWriter writer = new StreamWriter(compressionStream);

But when used it gives this error.
DllNotFoundException: MonoPosixHelper
System.IO.Compression.DeflateStream…ctor (System.IO.Stream compressedStream, CompressionMode mode, Boolean leaveOpen, Boolean gzip)

I’m not the one on crack here.
Unity obviously has zip , check their folder zlib1.dll

It’s been broken since unity 3 and apparently they never plan on fixing it.

Did you open a bug report back in 2009?

If so, give me the ticket number, and I can check on the status for you if you don’t know how.

You can’t expect UT to know about every bug in their editor. They is why they made the Bug Reporter tool.

Who know is GZIPStream (DeflateStream) now worked fine?