Inspector mode reports an error when opening the bounding box

First of all, I think this problem cannot be reproduced on Playground.
Secondly, my browser version is Chrome: 129.0.6668.60,Babylonjs: 7.18.0
When I call inspector on another page in the same browser to show the boundingbox, it works normally.
So, I think there may be a problem with the settings somewhere when I initialize this project.




Can you test with the latest version of Babylon? I don’t remember if we corrected a bug that could be related to this problem since 7.18.0…

cc @alexchuber to track the issue for us :slight_smile:

1 Like

Under the same version, some pages can view the wireframe mode.

Without a repro, I’m afraid it would be difficult to help more…

I was experiencing issues of all kinds (really weird stuff happened from time to time) with the inspector when it was embeded into the default parent html element of the rendering canvas.

All went away when I explicitly defined the globalRoot value.

Maybe you could give it a try…

1 Like

I am actually debugging the code in iframe mode. I wonder if this is the reason?
@Evgeni_Popov

I don’t think the way you embed the inspector is the problem, the error you report is unrelated to that.

I can see the error is related to render bundles. Do you set compatibilityMode to false? If yes, try to set it to true and see if the error remains.

I changed the parameter to true as you suggested. It seems there is still an error reported.

And if you set mesh.showBoundingBox = true by code, does it work? I definitely would need a repro somewhere because I can’t repro on my side.