metaData is undefined for InstancedMeshes

According to the docs and typescript files there should exist a metadata property:

On this example where instanced are used, the metaData property is undefined:

Setting a property on metadata would give no errors on compile time and fail in run time.
I guess thats unexpected behaviour, or am I missing something?

think it’s just a typo. it’s metadata, not metaData

2 Likes

Right, metaData gibts undefined metadata null.
I was used to that something like this is an empty object, so you can set it directly a user-defines attributes.