here is the code:
var assetBundle : AssetBundle;
var downloader : WWW;
function Start () {
var ruta:String = "file://" + Application.dataPath+"/escalones.unity3d";
Debug.Log(ruta);
try{
downloader = new WWW (ruta);
while (!downloader.isDone){
Debug.Log("...");
}
assetBundle = downloader.assetBundle;
//Application.LoadLevelAdditive("AdditiveScene");
Debug.Log(this.assetBundle.Contains("escalones"));
}catch(err){
Debug.Log(err);
}
}
the file “escalones.unity3d” exist and have 1 fbx,1 texture…
but when this is executed… the whole unity crash