Streamed Assets and included .dlls

Hi,

I'm deploying only to web and using a lot of LoadLevelAdditive to download streamed scenes at runtime.

One of my streamscenes depends on System.Xml.Serialization. Unfotunately now my main Scene which is loading the streamscenes is always Size + included .dll Size. even if I don't load the streamscene using xml.

I think this is because unity always compiles all the source, even if not used in the current scene but e.G. in an other Streamscene included in the same project. Is there some solution to this?

thnx mightytron

unity's asset bundles don't include the code and dlls. all of your scrips will be compiled to a dll (for each language, javascript, C#, boo) and all libraries that you need and all scripts will download with the first scene, weather you need them or not. asset bundles contain music and textures and meshes and materials and other assets that they are not code. hopefully adding codes to asset bundles will be added to next version of unity.