satguru
December 1, 2021, 2:37am
21
Sorry to bump this up again.
Found an issue with npm version.
project works fine with
1)
preview.babylonjs.com/babylon.js
preview.babylonjs.com/loaders/babylonjs.loaders.js
2)
preview.babylonjs.com/babylon.js
“babylonjs-loaders”: “5.0.0-alpha.62” from NPM
but not with
1)
“babylonjs”: “5.0.0-alpha.62” from NPM
“babylonjs-loaders”: “5.0.0-alpha.62” from NPM
“babylonjs”: “5.0.0-alpha.62” from NPM
preview.babylonjs.com/loaders/babylonjs.loaders.js
Maybe the babylonjs version on npm didn’t get updated properly?
sebavan
December 1, 2021, 3:03am
22
62 is available babylonjs - npm
What error do you see/have ?
Npm broke caching also. This can happen if you have prefer-offline = true set locally or globally.
Note: I think I misunderstood your error? I thought you were saying 5.0.0-alpha.62 just wouldn’t install . It seems your problem is a rendering issue
satguru
December 1, 2021, 4:26am
24
The forum broke my message.
fixed my message
See above
Hope its clear now
Getting the same error as before.
All mesh centered on (0,0,0) no scaling etc
If you mean Babylon.js Playground it does now work for me, the PR has been deployed to the Playground.
You may need to clear the cache of your browser before browsing the PG.
1 Like
satguru
December 2, 2021, 3:03am
26
Yep, playground and sandbox both work fine.
They I believe get babylon.js from cdn at cdn.babylonjs.com
But if you get babylonjs from npm, then it does not work
so -
cdn has good version,
npm has bad version
Yes, the NPM version has not been regenerated yet, it occurs less often than a Playground update. I think we should have a new version in the next 2-5 days (@sebavan ?).
sebavan
December 2, 2021, 2:01pm
28
I will create one tonight once the current PRs have been merged
satguru
December 3, 2021, 1:22am
29
I just tried the latest, Babylon.js v5.0.0-alpha.63, from npm and it works fine now.
Thanks
1 Like