This elusive 'StreamingAssets' folder.

Ive made a few threads and a few feedback threads asking about this streaming assets folder, but it still eludes me. I cannot find much documentation on it, I can’t really even seem to get it working on PC.

The only way I seem to be able to get it to work on PC is if I manually copy the StreamingAssets folder into Data folder on my PC build. Is that how it’s supposed to work? I thought unity automatically included everything in the StreamingAssets folder? But if it does, I can’t figure out where it is doing so on PC.

Is the StreamingAssets folder meant to only be used with iOS, meaning, only when compiling to iOS will Unity automatically include the StreamingAssets folder?

StreamingAssets

The documentation might seem scarce but they have this sample project available

The project doesn’t seem to give any info about the ‘StreamingAssets’ folder…

I’m interested specifically in just the StreamingAssets folder, and am wondering, does it get included in builds on all platforms? And how do I access it?

Asset Folder

Its available in the link

Sorry i have not actually got any further than you.

So no real experience doing this

I don’t see anything about the StreamingAssets folder there?

I discovered that yes the streamingAssets folder is automatically included on iOS builds. But it seems I have to manually copy it over on PC builds? Is that correct?

http://unity3d.com/support/resources/example-projects/assetbundles

Opened this in Unity
Opened scene “additiveScene” You will see a scene with lerpz
Now goto Unity Menu Assets->AutoBuild Resource Files
On PC it created folder “AssetBundles”
then within Unity Open Scene “Loader” and Run

So if copied this directory “AssetBundles” to a website or wherever

in “Loader Scene” you see there are few gameObjects with scripts attached to them “Highlight StreamLerpz” in Heirarchy, Then within Inspector change url to reflect where AssetBundles is located.

Such as URL http://localhost/AssetBundles/lerz.unity3d
Such as URL file://AssetBundles/lerz.unity3d ← not shure that is correct

Scene GameObjects with Scripts attached
AdditiveScene
StreamExplosions
StreamLerpz
StreamShared


Project Folder
AssetBundles
Assets
Library
loader.unity32d

Hopefully my explanation was of some use

I know this is a little bit old, but in the Unity 3.5 beta there is an Application.streamingAssetsPath property.