NodeMaterial "broken" unless `@babylonjs/inspector` is imported

Hello there,

I’m trying to import a NodeMaterial in a scene, but I have this error if @babylonjs/inspector is not imported.

nme-error

The Playground loads the inspector by default, so I can’t use it, but I’ve created a repository on GitHub.

If you comment out line 17 in src/app.js you’ll see the error.

I’m pretty sure this is because of side effects, like in this other thread of mine, but I can’t figure out by myself what other modules I have to import.

Thanks!!

NodeMaterial does not rely or even imports the Inspector. So it must be something else :slightly_smiling_face:

Can you provide a live example maybe on jsfiddle?