- Home /
Saving an AssetBundle decompressed
Hi everyone.
I have an scene that I save as an AssetBundle that takes almost 1GB. If I'm using www.LoadFromCacheOrDownload, the caching system sometimes loses the cached information and downloads the AssetBundle all over again. If I am saving the AssetBundle unto the disk using File.WriteAllBytes(filePath, www.bytes); and then reading it back using UnityWebRequest www = UnityWebRequest.GetAssetBundle("file:///" + filePath); it takes almost 60 seconds to load.
Is there any way to force the cache to not delete the AssetBundle or save it to the disk in a way that it won't take so long to load?
Thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220612121535im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
www doesn't work on ios Unity5.3.4 0 Answers
Asset bundle not getting loaded from cache 1 Answer
AssetBundles caching bug? 1 Answer
Reading a text file from an AssetBundle 0 Answers
How AssetBundles caching works? (Android vs iPhone) 0 Answers