BryceJS

.babylon.manifest load error

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.