createInstance with Debug layer causes fatal error

Ran into this today when playing around with the debug layer: if the Nodes accordion of the Debug layer is open when creating a new instance, the scene will blank and become unresponsive.
Console shows a few cascading initial errors and persistent onMouseMove errors.

Test scene here: https://www.babylonjs-playground.com/#5J6CZ2#5

Ouch! Sounds like a bug :slight_smile:
Thanks a lot for reporting it

I will fix it asap

Ok will be in next nightly

1 Like