I try to download an assetBundle from server through WWW Class like this:
WWW download = new WWW ("https://myserver/scene1.unity3d");
But Unity freezes at this point. The assetBundle is created with this code:
string[] level1 = new string []{"Assets/Scenes/scene1.unity"};
BuildPipeline.BuildStreamedSceneAssetBundle( level1 , "Assets/Bundles/scene1.unity3d", EditorUserBuildSettings.activeBuildTarget);
I know I can use LoadFromCacheOrDownload and this works, but why it is not working with the WWW Class method? Other file types like .mp4 or .txt I can easily download, but not the assetbundles created with BuildPipeline.BuildStreamedSceneAssetBundle. Also Unity freezes when I try downloading assetbundles created by Unitys new assetbundles system and the method BuildPipeline.BuildAssetBundles. I have tested on Unity 5.2, 5.3 and 5.4.