Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Managing assetbundles for webgl.

Discussion in 'WebGL' started by Mandoz, Apr 30, 2015.

  1. Mandoz

    Mandoz

    Joined:
    Aug 30, 2013
    Posts:
    9
    Hi guy, I'm a complete WebGL newbie.

    Now I'm trying to convert my game for WebGL.
    In my test project, I already finished download assetbundles and load them, but I couldn't find the proper solution to update assets and download changed files only. Is it controlled by browser or I should do something to do that. I already tried to turn 'data caching' option on, browser never downloaded changed aseetbundles.

    When I called the 'LoadFromCacheOrDownload' function, I only set 0 for the second argument. is this the reason why browser never download changed assetbundles?

    Thanks,
    Minsu
     
  2. nawash

    nawash

    Joined:
    Jan 29, 2010
    Posts:
    166
    Hi
    Just for test purpose, do the new assetbundles work when setting 'data caching' option to off ?
     
  3. Mandoz

    Mandoz

    Joined:
    Aug 30, 2013
    Posts:
    9
    Hi, Yes, it works.