Sandbox: Display Inspector fails if exported glTF has no meshes

Hi,

I see the following error:
Script error. Check the developer console.
when try open a Display Inspector for exported glTF without any meshes.
There is nothing in dev console.

Please add support for such glTF. For instance, it could be just a camera object.

Thank you for Sandbox, it’s great tool.

Same here. But other than the error message everything else seems to work fine.

can you share the gltf you used? I’ll fix that

did you mean erionroot or me? here is mine if it helps:
errorMessageInSandbox.zip (12.0 KB) (n.b. open inspector for error to show)

that works! I’ll investigate!

Here we are:
Fix script error when no mesh is in the scene for camera framing behavior by deltakosh · Pull Request #16194 · BabylonJS/Babylon.js

3 Likes