BryceJS Posted March 30, 2016 Share Posted March 30, 2016 Hello all, I have read through the various posts about fixing this issue but I still cannot seem to figure it out. I am receiving the following error: GET http://localhost:3000/assets/car.babylon.manifest?1459361047809 404 (Not Found) Here is the code that is giving the error: BABYLON.SceneLoader.ImportMesh("car", "assets/", "car.babylon", scene, function (meshes) { var m = meshes[0]; m.scaling = new BABYLON.Vector3(0.5,0.5,0.5); }); In my assets folder I created a file called: scene.babylon.manifest and inserted the following code into it: { "version" : 1, "enableSceneOffline" : true, "enableTexturesOffline" : true } I am not sure why this is not working, I feel like I need to require that babylon.manifest file somewhere but I am not sure where? also, my index.html file looks like this at the top: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Babylon My Scene</title> <link rel="stylesheet" href="style.css"> <script src="http://www.babylonjs.com/cannon.js"></script> <script src="http://www.babylonjs.com/oimo.js"></script> <script src="http://www.babylonjs.com/babylon.js"></script> <script src="script.js" charset="utf-8"></script> </head> Any help would be greatly appreciated, Thanks! Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted March 30, 2016 Share Posted March 30, 2016 Your file should be named car.babylon.manifest, and not scene.babylon.manifest. Quote Link to comment Share on other sites More sharing options...
davrous Posted March 30, 2016 Share Posted March 30, 2016 You can also set enableOfflineSupport to false on the engine object. It will disable support for offline caching and thus won't try to find the .manifest file. David Quote Link to comment Share on other sites More sharing options...
BryceJS Posted March 30, 2016 Author Share Posted March 30, 2016 It is working now, thank you both! Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted March 31, 2016 Share Posted March 31, 2016 You're welcome. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.