Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Aleron · Nov 17, 2011 at 08:07 PM · assetbundlecache

Asset Bundles not caching

Hey folks, I've tried searching the questions/answers here, as well as reading the Unity docs and several online resources, but I can't seem to find anything to help with my current issue.

Basically, we are using asset bundles for scenes in the game, using the Standalone Player. They download just fine and load into the game. However, we have frequently seen situations where the player will download all of the bundles, play the game for a bit, then log out and log back in. At that point the asset bundles are being re-downloaded in their entirety.

We have multiple players doing this at the same time, with one needing to re-download while another doesn't. So it's not an issue of the asset bundle version changing during the first play session. We've triple checked that situation in the database and both players are attempting to load/download the same version of the asset bundle, so it is rather baffling.

We track the current version of the asset bundle in a database, retrieve that version at the load screen of the game, then begin downloading the asset bundles using WWW.LoadFromCacheOrDownload using that version. It downloads the bundle correctly, but it seems as though it is sometimes being marked as a temporary cache item instead of a permanent cache item.

Is anyone familiar with any issue similar to this, or a means to check or specify which caching method should be used?

Any help would be greatly appreciated. Thank you.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by RayJ · Feb 03, 2012 at 01:22 AM

Yes, this is something I would like to know about as well. Our company is looking into using asset bundles...but it's not ideal if the client is required to re-download the bundle every time. We just want to make sure that caching is indeed an option. Thanks!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Unauthorized use of Caching API in webplayer 0 Answers

Issues with WWW.LoadFromCacheOrDownload 2 Answers

Caching.IsVersionCached(url, version) always return false 0 Answers

How to remove asset bundle cache when windows build is uninstalled? 0 Answers

How to add an AssetBundle into cache from a file 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges