Streaming download

Hello,

I’m in the process of evaluating Unity as a platform for a game we’re making. Does anyone know if Unity supports streaming downloads?

With flash we have the flexibility to allow the user to start interacting with the environment before all the assets have downloaded – both the initial swf needn’t have fully loaded; and further swfs, jpgs, flvs etc. can be triggered from within that initial swf to download.

Does Unity offer similar scope to bring in assets dynamically?

This is pretty crucial. If it does let you do this then conceivably we could let the user start interacting with their environment once everything that is in immediate eye shot has loaded. Then the rest of the environment (objects and textures in the distance) can load in the background. All in all we could create much larger environments with higher quality textures in this way…

But is it possible with the current Unity plugin?

Thank you,

Peter

Yes, it’s very easy to do.

Streaming by scene:
http://unity3d.com/support/documentation/Manual/Web%20Player%20Streaming.html

Downloading individual assets:

On a similar note, will WWW.LoadUnityWeb() use the browser’s cache?

Yes. All WWW class commands and generally all downloads in the web player go through the same API which uses the browsers cache.