I read your code and I think it’s effective, but it failed in my app.
I have two project, one of my projects use React + Babylon.js and another only use Babylon.js.
I use the same code in projects , Chrome console logs “Unable to import meshes from gingiva.stl: Error in onSuccess callback” when I start projects.
I confirm I use the same code in your PlayGround.
It successed in PlayGround but failed in my PlayGround, it’s an upsetting problem.
I found some other exception what about strict mode, so I think there may be some syntax errors in code.After reading code, I found that there’s a error in line 48 of this PG: https://www.babylonjs-playground.com/#LLL145#15
Here should be “var _newNdata =[];”