I’m trying to import a NodeMaterial in a scene, but I have this error if
@babylonjs/inspector is not imported.
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.