- Home /
DotNetZip in Webplayer
Using the DotNetZip library to decompress a zip file to a stream seems to work great in Unity2.6.x in both the Editor and the Webplayer. Just copy the Ionic.Zip.dll and the I18N.dll's in the plugins folder and you're set.
However, using Unity 3.x, the same implementation does work in the Editor, but it doesn't appear to work in the Unity 3.x Webplayer. Any ideas how to get this work in the latest Webplayer?
Here the implementation I've been using sofar: http://answers.unity3d.com/questions/17870/whats-the-best-way-to-implement-file-compression.html
Any progress here? I ran into a similar problem with the SharpZipLib. It only works in the editor & standalone, but not in the webplayer.
Answer by homeros · May 31, 2011 at 09:39 AM
I haven't used dotnetzip but I have ran into a similar problem with my xml library before. Try setting Api compatibility level to .net 2.0 from edit->project settings->player
Answer by jcarpay · May 31, 2011 at 09:48 AM
Isn't the API Compatibility Level setting for standalone builds only?
I've checked it now and it's for standalone only :/ sorry for misleading.