x


Simple Native App WWW Asset Caching System

Has anyone developed a cross-os system to cache AssetBundles loaded via the WWW object?

All it needs to do it save downloaded assets somewhere in the user's library folder, check for cached assets whenever loading new ones, and delete old cached objects as necessary. I just don't have any experience with accessing user's library folders in a fashion that will work reliably on all OSs, so please offer your suggestions!

I'll release the caching system as a component of the Whirld 3 library once it is complete.

Background info on this topic @ http://forum.unity3d.com/viewtopic.php?p=241921

more ▼

asked Dec 11 '09 at 08:47 PM

Aubrey Falconer gravatar image

Aubrey Falconer
672 46 54 68

(comments are locked)
10|3000 characters needed characters left

1 answer: sort newest

If you're writing a standalone application, you can use the normal .NET libraries to write to files on the users disk. (System.IO.File etc)

more ▼

answered Dec 11 '09 at 11:26 PM

Lucas Meijer 1 gravatar image

Lucas Meijer 1 ♦♦
8k 19 43 85

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5273
x215
x60

asked: Dec 11 '09 at 08:47 PM

Seen: 1760 times

Last Updated: Dec 11 '09 at 08:47 PM