Error when using Overlay Materials with Scene Capture and Lumen

I am using a Scene Capture Component with the Lumen GI method in UE 5.1.
Whenever this Scene Capture is looking at a Mesh that changes its Overlay Material, I get the following error:
Ensure condition failed: ScenePrimitiveInfo->LumenPrimitiveGroupIndices.Num() == 0 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\Lumen\LumenScene.cpp] [Line: 872] .

In an actual build, this ensure leads to a fatal error.

The Overlay Material is a Fresnel emissive material that activates when interacting with something.

The error still happens even if the object is ‘Hidden In Scene Capture’.

Same here!

Okay back to using normal materials then…

It is fixed in 5.2.

1 Like

Thanks good to know. Just updated to 5.2 yesterday.