Uncaught TypeError: Cannot set properties of undefined (setting '_isDirty')

Uncaught TypeError: Cannot set properties of undefined (setting ‘_isDirty’)
at TransformNode.computeWorldMatrix (transformNode.js:943:1)
at Scene._evaluateActiveMeshes (scene.js:3280:1)
at Scene._renderForCamera (scene.js:3463:1)
at Scene._processSubCameras (scene.js:3552:1)
at Scene.render (scene.js:3822:1)
at babylon.component.ts:407:42
at Engine._renderFrame (engine.js:910:1)
at Engine._renderLoop (engine.js:925:1)
at timer (zone.js:3155:1)
at push.23484._ZoneDelegate.invokeTask (zone.js:443:1)

I believe we need more information about your issue.
What is possible to say at the moment is that you are trying to set propeties of undefined variable.

4 Likes

Getting this error sometimes for scene.render()

And it is hanging the whole UI

Can you repro in the playground, I do not see how this can happen ?

Can it happen if we have multiple meshes with same name ?

Again, we’d need a repro to understand what’s going on