Error: WebGL warning: <SetDimensions>: Exceeded 16 live WebGL contexts for this principal, losing the least recently used one

Why am I getting this error? Simple pg: https://www.babylonjs-playground.com/#I22BEB#6

Looks like we do not destroy the engine for some reason… looking into it now.

Actually, I can only repro if I hammer the play button, it is what you are seeing ?

It worked at first but then it stopped working and got the error. What do you see?

This works: https://www.babylonjs-playground.com/#I22BEB#7
look up

I do not see anything in your scene

In #7?

Try this: https://www.babylonjs-playground.com/#I22BEB#8

Ok the last one work, so what issue are you trying to fix ?

Um, now there is no issue
I don’t get the error

1 Like

You are using FireFox. If you hit the reload button over an over, it for some reason tries to you to go back, but only 16 times. Ignore this.

Is there a fix for this?

Yup it just went in.

Cool, thanks!