Cannot load this playground, it "crashes" after loading, showing a white screen

Playground in question: https://playground.babylonjs.com/#SHBR9S#22

This happened after adding await BABYLON.Animation.CreateFromSnippetAsync() and trying to save or run.

BABYLON.Animation.CreateFromSnippetAsync is returning an array of Animation, so you need to retrieve the first element:

https://playground.babylonjs.com/#13FLFC#1

I don’t know why the error is not caught gracefully, maybe @RaananW will be able to help.

1 Like

So sorry, I must be missing something -

What is wrong in the playground? I can see both the original and the one offered by @Evgeni_Popov . Is your experience with the first link different?

When I click on the first link (https://playground.babylonjs.com/#SHBR9S#22), I have a white screen and an error in the console log:

Weird! The first time I opened the first link it worked without a problem, and now it fails. I’ll check that.

Ok, problem found :slight_smile:

[PG] Error coming from monaco can be an object by RaananW · Pull Request #11460 · BabylonJS/Babylon.js (github.com)

3 Likes