When the 'ssr forceGeometryBuffer' value is set to true, the program encounters an error

As shown in the image,the program crashes when the metallic map value is ‘undefined’ because it only excludes cases where the value is ‘null’. Is this approach reasonable?

It is probably possible to check for false-y objects instead of just null. CC @sebavan ?

It is a bug and should definitely check for falsy, I ll push a PR ASAP.

1 Like

This will fix it Fix void checks in Geometry Buffers by sebavan · Pull Request #14998 · BabylonJS/Babylon.js · GitHub