Reproduction: Babylon.js Playground
Line 30 is the culprit.
Workaround:
const layerMaybe = scene?.effectLayers?.length
? scene.getGlowLayerByName(name)
: undefined;
Reproduction: Babylon.js Playground
Line 30 is the culprit.
Workaround:
const layerMaybe = scene?.effectLayers?.length
? scene.getGlowLayerByName(name)
: undefined;
Welcome aboard!
Thanks for reporting, I didnât even know this function existedâŚ
This PR will fix the problem:
Itâs the doc of the function which was wrong, it will be fixed by the PR too.