Merfoo Posted June 7, 2014 Share Posted June 7, 2014 Every time I try to upload a .babylon file http://www.babylonjs.com/sandbox/ the sandbox doesn't work and spits out a "Uncaught TypeError: Cannot read property 'scenes' of undefined babylon.js:5". Quote Link to comment Share on other sites More sharing options...
Temechon Posted June 7, 2014 Share Posted June 7, 2014 Can you share your babylon scene ? Quote Link to comment Share on other sites More sharing options...
davrous Posted June 7, 2014 Share Posted June 7, 2014 Yes I was about to ask the same question. I can't debug the sandbox without checking first your .babylon scene file. Please give us also the associated textures (.jpg & .png files). Thanks! Davud Quote Link to comment Share on other sites More sharing options...
Merfoo Posted June 7, 2014 Author Share Posted June 7, 2014 It doesn't work with any babylon file I throw at it, but here are all the babylon file and the associated textures. I don't know how to send attachments in posts so I made a repo on Github instead... https://github.com/Merfoo/Babylon-Scenes Quote Link to comment Share on other sites More sharing options...
Temechon Posted June 8, 2014 Share Posted June 8, 2014 Try this : http://babylonviewer.herokuapp.com/It's a little bit old and ugly but it's still working ! (keep in mind it was the version 1.6 of babylon, so it may be not exactly what you created) I tried to upload the scene littleboy.babylon, here what I found : http://i.imgur.com/1UeIl31.png Quote Link to comment Share on other sites More sharing options...
davrous Posted June 9, 2014 Share Posted June 9, 2014 Hi, Which scene are your interested in? I've just checked "fatMan" and it has no camera, no light set. When I'm drag'n'dropping it in the sandbox, I've got no error but a black screen because of that. How did you generate the .babylon file? From Blender? If so, please set & export light & camera. In the folder you've shared, dude & viperShip works (these are our scenes), robot works also as well as "guns". gilShip doesn't load because you're missing the "Skybox2.png" texture. All the other scenes don't have a camera or light enabled during your export. You just need to fix that. Finally, on which browser have you tested? Bye, David Quote Link to comment Share on other sites More sharing options...
Merfoo Posted June 9, 2014 Author Share Posted June 9, 2014 Huh my bad, I didn't know you could drag and drop. Works when I drag and drop, but not when I open the files with the button on chrome ff or ie, if I try with the button I get this error.Chrome 35http://imgur.com/QqjXTgvLatest Firefoxhttp://imgur.com/QHrQ1vaIE 11http://imgur.com/Tlhenya Quote Link to comment Share on other sites More sharing options...
davrous Posted June 16, 2014 Share Posted June 16, 2014 Hi, I've just fixed the files input bug of the sandbox. You can refresh the tool and it should work again. Thanks for pointing this bug out! Bye, David Quote Link to comment Share on other sites More sharing options...
gryff Posted June 16, 2014 Share Posted June 16, 2014 Working for me too now David. You may remember I was having issues here. cheers, gryff 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.