Uncaught TypeError: Cannot read property 'subtractToRef' of undefined

I want to render objects with BABYLON.Mesh,Why does this problem arise?

Hard to say without a repro…

Make sure your vertex and index arrays have valid data (display them in the console).

1 Like