Additional nodes in Inspector only works in embedded mode

Adding custom properties and other features to the Inspector is a great thing, but it seems that using the additionalNodes property when showing the debug layer / Inspector only works when at the same time you set embedMode to true:

https://playground.babylonjs.com/#XK769K#7

The other way of adding custom features (explorerExtensibility) works fine no matter if embedMode is true or false.

It appears that the Inspector code is no longer part of the BJS repo on Github, so no way to file a bug report there.

Hi, and welcome to the forum :slight_smile:

The inspector code is a part of the repository:

Babylon.js/packages/dev/inspector at master · BabylonJS/Babylon.js · GitHub

We usually like to discuss bugs here before moving it to github (we use issues to track our work, and less for discussion). But as it does seem like it is a bug, it will be great if you submitted an issue on github. you can reference this forum discussion.

1 Like

Thanks!

I have filed the issue here:
https://github.com/BabylonJS/Babylon.js/issues/13558

I ll fix it ASAP.

This should fix it

Fix Inspector Additional Nodes by sebavan · Pull Request #13560 · BabylonJS/Babylon.js (github.com)

1 Like

LOL thanks @bghgary forgot to add the link …

Brilliant! You guys rock! :smile: