• Content Count

  • Joined

  • Last visited

  1. I exported (Export and Run) a scene from Unity (5.3.5) to Babylon, there is no error during the exporting process, however, when I click the "done" and run the exported file, it gives the error from the console: " importScene of undefined from undefined version: undefined, exporter version: undefinedimportScene has failed JSON parse babylon.js:16 Uncaught SyntaxError: Unexpected end of JSON input" This is the content of Unity3D2Babylon.ini file: {"DefaultFolder":".../Desktop/babylon","ReflectionDefaultLevel":0.3,"ExportCollisions":true,"ExportPhysics":true,"ExportShadows":true,"CameraEllipsoid":{"X":0.5,"Y":1,"Z":0.5},"Gravity":{"X":0,"Y":-0.9,"Z":0}} Please help. Thanks,
  2. I load the obj loader file as well as the babylon2.1 as indicated in the document and referenced them. Now I have this error: " undefined is not an object (evaluating 'BABYLON.SceneLoader.RegisterPlugin')" from babylon.objFileLoader.js:742.
  3. Thank for the quick reply. I am not very clear how to add the reference to the obj loader in Meteor. I tried to include script tag in the head of html file and also import iobjFileLoader from 'babylonjs', import obj file from "objFileLoader" gives an error. all didn't work. Is this obj loader included in the babylonjs? I couldn't find this file under the babylon module. Thanks.
  4. Hi, I am building an app in Meteor and want to use the Babylon, I tried the assetsManager in Meteor to load an obj file, but it doesn't work. I am using external server http:/// as a URL root. The code works on Sandbox but not in Meteor. I also tried to load the obj file in local directory by putting it in the Public folder of the Meteor (the URL root is "/" or empty) , still doesn't work. Can someone help me on this? Thanks.