I used a script to unzip my files. It does not work when having built the project. The error is
NotSupportedException: Encoding 437 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
Any help getting this to work, would be highly appreciated.
using UnityEngine;
using System.Collections;
using System;
using System.Runtime.InteropServices;
using Ionic.Zip;
using System.Text;
using System.IO;
public class ZipUtil
{
public static void Unzip (string zipFilePath, string location)
{
Directory.CreateDirectory (location);
ReadOptions ops = new ReadOptions();
ops.Encoding = Encoding.UTF8;
using (ZipFile zip = ZipFile.Read (zipFilePath,ops)) {
zip.ExtractAll (location, ExtractExistingFileAction.OverwriteSilently);
}
}
}