- Home /
Are apps that use AssetBundles always out-of-luck when a client's offline?
Are apps that use AssetBundles always out-of-luck when a client's offline? If your target isn't only the iPhone but also iOS-based iPods and iPads that seems like a problem. The obvious work-around would be to cache the content the first time it's downloaded, but I don't believe that's possible.
- After an initial download of AssetBundle content, is there a way to save it locally on the iDevice so that you only need to download it a single time, and if yes what is that way?
Answer by Ostagar · Nov 22, 2010 at 04:54 AM
I simultaneously posted this to the Unity iOS forum and received an answer:
Yes, use System.IO.File.WriteAllBytes and store the bytes array you get in WWW
to your applications documents or better caches folder
All is well. :)
PS - I can't post a link to the specified thread due to a bug in UnityAnswers.
Your answer
Follow this Question
Related Questions
WWW.LoadFromCacheOrDownload not working 1 Answer
Best way to load information from server? 0 Answers
Replace Graphics with inserted picture 0 Answers
release only for ipad 1 Answer