how to dinamically load a external unity3d or package file

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

something like this will work better for you:

function Start () {
try{
    var downloader = WWW ("file://" + Application.dataPath+"/escalones.unity3d");
//wait for download
    yield www;
//access
    Instantiate(downloader.assetBundle.Load("objectName");
}catch(err){
Debug.Log(err);
}

Other functions of AssetBundle are available at Unity Script Reference: http://unity3d.com/support/documentation/ScriptReference/AssetBundle.html