Babylon.inspector.bundle.max.js:41725 Uncaught TypeError: Cannot read properties of undefined (reading 'toString')

Hi All,

I’m getting an error when I open the inspector and click on the first one of my entities (a transform node). I just cannot seem to pinpoint where this error is coming from.

(Babylon.js v6.27.1 - WebGL2 - Parallel shader compilation)

Console log below:

Hi @oriongu
Does it repro with current playgound with 6.30.0?
Can you share a repro PG?

Looking for toString on the component shown on the stack trace leads to this line: https://github.com/BabylonJS/Babylon.js/blob/3deb0ce24fd97530ea60ae5b315cf4a3744a8fc9/packages/dev/inspector/src/components/actionTabs/tabs/propertyGrids/animations/animationPropertyGridComponent.tsx#L194

For that to fail, the animations property of this entity would have to be something different than an array… was that property changed in some way?

2 Likes