Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity3D: Web Player Local File Storage (Cache)

Discussion in 'Scripting' started by apple_motion, Jan 14, 2011.

  1. apple_motion

    apple_motion

    Joined:
    Jul 2, 2009
    Posts:
    169
    Since, I lack of money to buy the license of the cache system from Unity. So that, I try to build a poor man local file storage system by using another unity app running locally or LAN as an asset server.

    http://www.youtube.com/watch?v=uZjeK8Gf6Ns

    Will this concept work ?? The data are transmited by using byte array and RPC call.
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    if the user has to run a local unity application, why bother with the webplayer at all? makes no sense.


    also you can't stream in asset bundles that way which makes it very limited as that means you can also not get scenes, terrains and meshes, nor can you stream sound as sound can not be reconstructed from bytes either.

    so concept wise it could work but is not required.
    Because textures are normally not larger than the max allowed filesize for browser caching and thus they will be cached by the browser for you (WWW calls go through browser networking for exactly this purpose)
     
    Last edited: Jan 14, 2011
  3. rudey

    rudey

    Joined:
    Nov 7, 2012
    Posts:
    1
    are we completely in a no-other-option situation thus requiring us to have caching license in order to get rid of the 50Mb limitation ? Aren't there any other alternatives or plugins which will manipulate the Webplayer to work as if it is 'downloading' from a web and put the files somewhere else instead of that shared cache?