- Home /
Streaming Support
Hi,
according to http://unity3d.com/unity/licenses.html Unity supports "Fully Fledged Streaming with Asset Bundles"
I had been lead to think that this streaming of geometry happened automattically - ie when you move into a new area of map the geometry would be loaded automatically.
As i read through the documentation it seems that the streaming actually provided is only by programmatic control. Is this the case?
I had thought streaming would help automatically with memory management on devices with low memory - but this does not appear to be the case - are there any other suggestions?
Many thanks
David
Answer by duck · Mar 31, 2010 at 11:03 AM
Yes, if you want to stream additional geometry or other game-related assets at runtime, you need to manually define what should be streamed, and use your code to define when that streaming should occur.
Unity's main tools for this are:
Streaming Additional "Levels" (Level is a synonym for Scene in Unity)
Unity can stream "levels" in a linear fashion, and using this you can stream content that appears later in the game, while the user is playing earlier parts. You can't pick and choose which order the levels are loaded in, so this is typically used to load a loading screen, menu scene, level 1 scene, level 2 scene, etc. in order.
Read more about level streaming in the Manual: Web Player Streaming
Streaming Additional Assets (geometry, etc)
You can use Asset Bundles, or the Resource Folder.
Asset Bundles give you the functionality to download and instantiate any type of asset at runtime, so you are free from the "linear" nature of the level loading system. Asset Bundles are a Pro Only feature.
For web builds, the contents of your Resource folder gets attached to a particular Level of your choosing, and is loaded as part of that level's download progress, so once that level is loaded, you're free to instantiate items from your Resources.
Answer by David 3 · Apr 08, 2010 at 02:07 PM
Just stumbled across this http://forum.unity3d.com/viewtopic.php?t=45295&start=0> this is the kind of functionality i had hoped Unity had built in i will be following it with interest.
Your answer
![](https://koobas.hobune.stream/wayback/20220612140232im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
A node in a childnode? 1 Answer
how much memory is unity when installed? 2 Answers
Limit on the amount of data I can store on Android Devices? 0 Answers
Unity running out of memory 1 Answer
Unity iPhone: Audio "stream from disc" memory usage 1 Answer