When using LoadAssetContainer to load babylon scene data described in JSON format, the onNewMeshAdd for the same mesh will be executed repeatedly.
The scene data in playground only contains a cube mesh.
When using LoadAssetContainer to load babylon scene data described in JSON format, the onNewMeshAdd for the same mesh will be executed repeatedly.
The scene data in playground only contains a cube mesh.
Let me have a look
Working on a tentative fix: Try preventing events during babylon file parsing by sebavan · Pull Request #17623 · BabylonJS/Babylon.js · GitHub