Unity3D: Web Player Local File Storage (Cache)

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

  1. apple_motion

    apple_motion

    New Member

    Joined:
    Jul 2, 2009
    Messages:
    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

    Member

    Joined:
    Apr 5, 2008
    Messages:
    26,586
    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

    New Member

    Joined:
    Nov 7, 2012
    Messages:
    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?