Hagop Posted September 14, 2015 Share Posted September 14, 2015 Hi When I open my HTML file from local drive which contains a loaded scene using BABYLON.SceneLoader.Load command I get the error Error on XHR send request in the console but my scene loads fine (well i guess so) When I load the same HTML file from localhost the message disappears. Do I need to always run Babylon from a server? Quote Link to comment Share on other sites More sharing options...
Temechon Posted September 14, 2015 Share Posted September 14, 2015 Short answer: Yes. Long answer: All babylon scene loading an external resource (in your case, an external scene) need to be launched from a webserver.If you are not loading any external resources, you can run it from your local drive. 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.