Hi,
I’m trying to pull a zip file from a web server, unzip it into a memory stream and then process the data from there, but I am running into some issues with DotNetZip.
Essentially, everything works great when running in the editor, but when I run a web player build I get a “at <0x00000> unknown method” when attempting to call the DotNetZip functions.
The code is very simple:
DebugSystem.DebugError("Extracting Zipped Data File");
ZipFile zip = ZipFile.Read(fileInBytes);
ZipEntry entry = zip[0];
MemoryStream ms = new MemoryStream();
entry.Extract(ms);
DebugSystem.DebugError("FILENAME: " + entry.FileName);
DebugSystem.DebugError("SIZE: " + ms.Length);
ms.Position = 0;
return ms;
Any assistance would be greatly appreciated…
Thanks,
CJ