GLTF exporter instances issue

Steps to reproduce:

Inside the fridge, you should see 4 different bottles + a few instances for each one. Inside babylonjs sandbox you don’t see any instances, while in the threejs viewer the instances do appear.

EDIT: The instanced meshes do seem to be there in the scene graph, they just don’t seem to render.

Is there a validation error ? Adding @bghgary our gltf guru :slight_smile:

Nope - “Your file is a valid glTF file”

Quick look, this doesn’t appear to be a glTF problem. It looks like glass material on the Fridge is somehow occluding the instances. I noticed if you hide the glass door, then the instances show up:

Looks like this GLB is using the transmission extension for glass which is appropriate. Somehow using the transmission extension is messing with instances. If I remove the transmission extension and use blend directly, then it works fine. @sebavan @Evgeni_Popov @MiiBond Any ideas?

Wait, I think I see the issue. Let me try something.

Fixed in PR: Fix issue with glTF transmission and instances by bghgary · Pull Request #10225 · BabylonJS/Babylon.js (