Hi.
I have two scenes in unity and i can move between them at runtime. When i load from scene 0 to scene 1 then then this script gets executed
IEnumerator Start()
{
stream = new WWW ("http://www.*******.com/stream/" + loadAdditiveGeometry.meshToAdditiveLoad + ".unity3d");
yield return stream;
Instantiate(stream.assetBundle.mainAsset);
}
It works perfectly. I get all my assets loaded from unity assetbundle file. But trouble begins when i load back to scene 0 because after that when i load scene 1 again then nothing happens. No assetbundles are loaded if the same scene is loaded second time.
When i refresh the webplayer then everything is ok again. All the assets are loaded only the first time. Going back and loading the same scene again is doing nothing.
Any ideas on what am i missing here?
Thanks