Problem with using WWW class to download zip on iPad

I’m trying to download a zip file using the WWW class on the iPad.
It can be done without any problems within the editor itself.
However, the download seems to start and simply get stuck at 0%.
I’m displaying the www.progress value to the screen by using a GUI.Box and it simply shows 0.

EDIT: Other than that, I’ve also displayed the zip url to the screen, copied that into a browser, and tried download it using the browser and it works …

I’m actually downloading a few other image files using the same approach with the WWW class.
That works perfectly on both the Editor and the iPad.
So the only problem is with downloading a zip file using the WWW class on the iPad, and I really can’t figure out the issue there.

Added: I tried downloading a smaller zip file, such as a 5MB zip file, and although the www.progress value is always stuck at 0, I can be sure that it has finished downloading it after awhile as I cache the zip file in the if(www.isDone), and the zip file is perfectly fine.

However, I tried downloading a bigger zip file, 60MB in size, and the www.progress is still stuck at 0, but the application simply dies after like 30seconds or so.

Any idea what’s happening?

bumpz~

Progress currently is not supported on iOS. If you need to know when download is complete just check isDone or yield on www variable.

WWW class is downloading all files into memory. So 60MB of RAM will be used to store your download and your application might run out of memory. Probably you should split your download into smaller chunks.