- Home /
Why is the Unity game cache 4GB for PC and 50MB for web player?
I recently got a question from a co-worker about Unity that I wasn't able to answer. Unity has a game cache limit for AssetBundles of 4GB for PC/Mac/Linux builds, and 50MB for web players.
Are these cache limits arbitrary? If so, why can't I increase them? If not, what is the reasoning behind the 4GB and 50MB sizes?
Thanks,
Answer by pitimoi · Mar 05, 2015 at 01:56 AM
In fact, the caching in WebPlayer is under a special licence : http://docs.unity3d.com/ScriptReference/Caching.Authorize.html
That's why you can't have more than 50MB in WebPlayer but 4GB in any other plateform.
Here is a forum post on this subject : http://forum.unity3d.com/threads/buy-caching-license.108710/
With a quote of the Unity FAQ :
What is the Unity Caching Product and how can I license it?
Unity offers a premium extension of the Unity webplayer which caches asset bundles locally to end users. This product is licensed on a revenue-share model under a separate agreement made by our business development team. Generally, this product is licensed to developers or publishers with large online game files and online traffic. The Unity Caching Product reduces bandwidth costs and is geared towards minimizing download abandonment.
Your answer
Follow this Question
Related Questions
Caching.CleanCache - Problems Cleaning On Android 0 Answers
Addressable Assets Cache 0 Answers
How to keep Adressable Asset Bundles downloaded in device? 1 Answer
Remove cache after being unused 1 Answer
iOS Asset Bundles Expiration 0 Answers