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:
Seems like the helper also doesnât know about it
May be you could (request) update on this part as well?
Itâs the doc of the function which was wrong, it will be fixed by the PR too.