• Content Count

  • Joined

  • Last visited

About yzthr

  • Rank

Profile Information

  • Location
  1. Oh, I find it was my mistake that my project have 2 html file and i just reference babylonjs.laoders.js once. So the problem is solved. Sorry for wasting for time and Thanks for all above.
  2. thank you for your answer! i just use Max2babylon plugin to export the .gltf file as usual. And i test to load the .gltf file in a plain html file and it works. I don't think anything about producer tag is wrong.
  3. Thank you for your reply. sorry for my misunderstanding. i used the source: "https://preview.babylonjs.com/loaders/babylonjs.loaders.js" in my project for test for sure. And also sorry for not sharing my code because the project is so big and i have tried my best to make sure that there is no error in other part of my project(as mentioned above: i can load .babylon file correctly). Please forgive me for my poor english.
  4. Yes, i search the whole file, but i can't find anything about "importScene´╗┐ of undefined" or "loadAssts´╗┐ of unknown".
  5. Hello, recently i met a problem and it really troubles me. I use BABYLON.SceneLoader.Append() to load the .glb file(export from Max2babylon plugin) and it failed. The browser said: "Unable to load from ../BIM/incremental/helin.glb: importScene of undefined from undefined version: undefined, exporter version: undefinedimportScene has failed JSON parse". then i load the .gltf file, The browser said: "Unable to load from ../BIM/incremental/helin.gltf: loadAssts of unknown". It's really wired, huh? After that i use the same project load .babylon file(also export from Max2babylon plugin) correctly to make sure it's not the problem with project. And i test to load the .gltf file in a plain html file and it works, so i think it's no the problem with the file and the peoject. So i think it's a bug.(no offense)
  6. yzthr

    Can't import babylonjs-gui?

    Hi, i have already post the screenshot of the function "createGUI", after that i just call the function once to create the GUI. Sorry for not posting the code cauz the code has not been finished yet. I think it's a bug.
  7. yzthr

    Can't import babylonjs-gui?

    Yes, u're right. but "addControl" is also undefined.
  8. yzthr

    Can't import babylonjs-gui?

    Thanks, but i already have called the gui module in my code. and i refer the above reference but i can't find the reason. my code are as follows: when i run the code, chrome shows the following error: @RaananW May u give me some help? thanks
  9. Hello, recently i find that i can't import babylonjs-gui after i import babylonjs with webpack. I don't know why.