Loading Multiple mesh , giving an error "Unable to load from /scenes/Dude.babylon: Error in onSuccess callback" for every babylon file

var meshesToLoad = [“trial_two_with_black_bg.babylon”,“babylonJS_logo_v3.babylon”,“Rabbit.babylon”,“skull.babylon”,“Dude.babylon”,“dummy3.babylon”];
for (var index = 0; index < meshesToLoad.length; index++) { BABYLON.SceneLoader.Append("/assets/javascripts/scenes/",meshesToLoad[index], scene, function (newMeshes) {
scene.createDefaultCameraOrLight(true, true, true);
console.log(newMeshes);
var a = newMeshes;
camera.target = newMeshes;
a.actionManager = new BABYLON.ActionManager(scene);
a.actionManager.registerAction(
new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnPickTrigger,
function(event){
var pickedMesh = event.meshUnderPointer;
window.open(“https://www.babylonjs.com/”);
return;
})
);
});
}

Hi @suneina_bhat
Please create a Playground

Hi ,
https://www.babylonjs-playground.com/#10FF4M#1

Tried implementing the same here . And it works . But i have made a babylon file here : https://sandbox.babylonjs.com/

Downloaded that file and imported it as shown in the code.

It shows the error,
babylon.js:16 BJS - [18:36:55]: Unable to load from /assets/javascripts/scenes/trial_two_with_black_bg.babylon: Error in onSuccess callback