SceneSerializer loses hierarchy

after the last update i have notice that instantiated nodes loses the hierarchy after the export of the scene in .babylon format.

I built this playground:

I used the sandbox for testing the scene import (

Hi! I’ll take a look rn :smiley:

Just leaving an update, it’s indeed a bug with the way instance parents are serialized :slight_smile: Thanks for catching that, I’m working on a fix! Did you say it worked before the last update? Because the way the code looks, it doesn’t seem it would have worked :thinking:

1 Like

PR Open! Fix serialization when objects have InstancedMesh parents by carolhmj · Pull Request #12690 · BabylonJS/Babylon.js (


Hi @carolhmj, thank you very much for this fix! :smiley:

1 Like