Search Unity

LoadFromCacheOrDownload

Discussion in 'Scripting' started by rterranova, Feb 1, 2012.

  1. rterranova

    rterranova

    Joined:
    Nov 6, 2009
    Posts:
    43
    When using LoadFromCacheOrDownload while in the Editor I can see that my cache data is being stored.

    I verify that the data is being cache by going here. http://cdn2.unity3d.com/setup-3.x/.

    What I see here is a entry for my Product Name - Company Name as defined in my Player Settings.

    This all works great while in the Editor.

    But when I build a Web Player I do not see an entry for my Product Name - Company Name and my data does not get cached. Is there something I need to do in the webplayer.html file to make this work?

    Any Help would be great.
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    It gets cached but only 50mb of cache are free (and shard for all unity webplayers on earth)
    If you want more cache explicitely for your app, you must contact sales@unity3d.com and negotiate a custom license for caching