scene.onKeyboardObservable

Hey everyone,
did anyone else encounter the problem, that when u switch scenes, the scene.onKeyboardObservable does not register keyboard inputs until you switch tabs or click in the inspecter area and back.

can anyone help me?

thanks in advance

Adding @PolygonalSun

Hey @Seebat, welcome to the community! By any chance, would you be able to create a Playground to repro what you’re seeing or provide a code snippet?

I haven’t reproduced this, but I’ve seen it happen. I think switching the tabs workaround has something to do with the blur event causing controls to detach and reattach

Here is the simplest method to check if you lose canvas and return it back - Babylon.js Playground