georage Posted August 3, 2016 Share Posted August 3, 2016 I can't seem to load a babylon mesh into my scene from my server. I am familiar with the playground, but my version appends appends manifest?unixtimestamp to the resource url I provide and I get a showstopping GET error. My console reports I have a version of skull.babylon on the server but the url appended with .manifest?unixtimestamp returns a 404. I find the SceneLoader documentation a little confusing, with lots of repeated text. https://doc.babylonjs.com/classes/2.3/SceneLoader My questions: How do I get rid of the GET error? How would you code this up if you have your .babylon files in a separate folder from your root folder? I have my root folder with index.html, then a js folder and a json folder for saved .babylon mesh files. BABYLON.SceneLoader.ImportMesh("", "_json/", "skull.babylon", scene, function (newMeshes) { }); Thanks for any help! I think I am learning a lot but am often bewildered for hours. Quote Link to comment Share on other sites More sharing options...
Kesshi Posted August 3, 2016 Share Posted August 3, 2016 this should help: engine.enableOfflineSupport = false; georage 1 Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted August 3, 2016 Share Posted August 3, 2016 BABYLON.Database.IDBStorageEnabled = false;//disable the .manifest checking. georage 1 Quote Link to comment Share on other sites More sharing options...
RaananW Posted August 3, 2016 Share Posted August 3, 2016 Or just ignore it it is not an error, it just means you didn't provide a manifest for this file. If you have a problem with the red color in your console (your users won't have any problem with it, i promise you) use one of the solutions provided here. Or stop disliking red! it is a wonderful color! georage 1 Quote Link to comment Share on other sites More sharing options...
georage Posted August 3, 2016 Author Share Posted August 3, 2016 Thanks for all the help fellows, I got it working. That skull is really cool. 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.