SceneLoader.ImportMeshAsync is blocking all tabs in the browser

Thank you very much for the tip! It’s working :slight_smile:

EDIT: For Typescript users. You have to cast the loader: addOnce((loader:BABYLON.GLTFFileLoader)

1 Like

w00t w00t :partying_face:

2 Likes

Hi @jeremy-coleman ! Really interesting fix here. Would you expect this to affect the way the textures on the model appear?

If I may hijack the answer: I don’t see any difference.

1 Like

Thanks @roland ! (fyi @SirFizX )

2 Likes

You will see a big difference for this model:

But that’s a contrived example that will never happen in real world scenarios.

For real models, it can affect some textures in subtle ways, notably for emissive textures.
Try to open in two different tabs these 2 PGs and switch between them:

1 Like

Is there a way to fix this at BabylonJS level?

Nope it is a browser internal bug, nothing we can do here :frowning:

1 Like

I had a feeling :hugs:

1 Like