Standalone application loading web asset bundles

Hi Unity guyz,

I try to make my standalone application load asset bundles from the web (via a localhost website for testing).
I compile and copy all my files in the right folder, and I set up my crossdomain.xml file

In the Unity editor, all the asset bundles and their contents load immediatly and properly.

So I compile my application and run it… it crashes on the first asset bundle to load, when doing:

AssetBundle ab = myWWW.assetBundle;

Here is the output_log:

...
Serialized file contains typetree's but the target can't use them. Will ignore typetrees.
UnityEngine.WWW:get_assetBundle()
<DownloadMain>c__Iterator0:MoveNext()

[..\..\Runtime\Serialize\SerializedFile.cpp line 248] 
(Filename: ..\..\Runtime\Serialize\SerializedFile.cpp Line: 248)

Does someone know this issue?

up

I have the same issue with Unity3 beta5. Asset bundles created by both 2.6 and 3.0 Unity versions (in particular, created by standard character customization demo) work fine in Unity editor, but fail in Windows standalone build.

also have this issue with Unity3 beta6. This is probably a bug?

have you tried beta 7? I’m using assetbundles the same way, with no trouble.