Extract data unity asset

broken image
broken image

In this case what's needed is to zip that folder up into a tgz file and place that tgz file within the StreamingAssets folder upon building the game. You need to place that in your Plug-ins folder in your Assets directory.Ģ) So say, like me, you have your main game database files and save files in a directory like 'Assets/Data'.

broken image

The best library I found for this is here: Then, I downloaded the file using It required an external dll to do.ĮDIT: Okay, who am I kidding I'm going to post the code here in case anyone ever has this problem.ġ) The first thing I needed was a library that works on android and windows universally for zipping up and unzipping tar.gz files (or tgz files, both of those formats the same thing). Click to expand.I actually got it working compressing the files at build into a tgz file.

broken image