I used babylon,js in my Wechat Game. Simple sample with simple babylon.js is ok! when i used lib downloaded in complex sample. it is ok in browser, only in wechat environment it is wrong! pls help me!
share and screenshot from what you do
Did you check this?
I don’t know WeChat environment but there must be a config issue for sure. How do you bundle? Using webpack?
Looks like it is using amd and without config will go for loading file moduleName + js, you can either rename babylon.js to babylonjs.js or use a special config: