Cannot read property 'RegisterExtension' of undefined with es6

Hi. I’m trying to use RegisterExtension with es6 module but it still give me an error.
Normaly, without modules is working fine.
Here is what I tried.
Thanks!

Pinging @sebavan

You need to register on the GltfLoader not the GltfFileLoader: BabylonJS ES6 - Mesh not visible - CodeSandbox

:slight_smile:

1 Like

Oooooh :unamused: this I didn’t try it :)). Tried with * as, or gltf 1.0, 2.0, even glTFLoaderExtension but…
Thank you! :muscle:

1 Like