-
Open https://playground.babylonjs.com/#JWKDME#205 (it’s from this page Babylon.js docs )
-
Open Edit Frame Graph
-
Select and Delete this connection
-
Press Ctrl+Z
-
Now in the scene:
TypeError: Cannot read properties of null (reading ‘getScene’)
at new e (shadowGenerator.ts:902:29)
at t._createShadowGenerator (shadowGeneratorTask.ts:260:33)
at t._setupShadowGenerator (shadowGeneratorTask.ts:267:18)
at t.set (shadowGeneratorTask.ts:28:14)
at t._buildBlock (baseShadowGeneratorBlock.ts:232:30)
at e.build (nodeRenderGraphBlock.ts:365:14)
at e.build (nodeRenderGraphBlock.ts:350:23)
at e.build (nodeRenderGraphBlock.ts:350:23)
at e.build (nodeRenderGraphBlock.ts:350:23)
at e.build (nodeRenderGraphBlock.ts:350:23) -
And after resize window with playground demo:
Uncaught (in promise) TypeError: Cannot read properties of null (reading ‘getScene’)
Context:
WEBGL2
8.53.0 (Latest)
I did not look deep, but this part looks strange:
The this._light after Ctrl+Z in this case is null but there is only undefined check.



