LoadAssetContainerAsync doesn't work for Babylon files

Hi,
seems like LoadAssetContainerAsync doesn’t work anymore for babylon files.
Similar functions like AppendSceneAsync work though.

See this PG example, the node structure is not built correctly, materials and morph targets are missing.

Investigation results:
addToScene is always false, therefore scene._blockEntityCollection will be set to true and no elements will be added to the scene in the course of this function.

However, the code for linking the parsed elements with each other relies on these elements to be available in the scene.

Thanks a lot for the report, we ll have a look ASAP.

Thanks a lot, totally an oversight of implementing a fix for onNewMeshAdd executes repeatedly for the same mesh - #6

PR is here revert #17623 by sebavan · Pull Request #18016 · BabylonJS/Babylon.js · GitHub

Ok, thanks a lot for the fast fix :+1:

1 Like