UE 5.2 crashes on ShaderCompile when changing Gbuffer Format via Console

Hi there,

I have the following problem, which can be reproduced constantly even with an empty UE5.2 scene:

Unreal crashes during shader recompile, after changing the Gbuffer-format via command line. Whenever I set the Gbuffer to another value with “r.GBufferFormat X” (where X is different to the project setting, e.g. setting it to 3 when project setting is 1), Unreal crashes whenever shaders are recompiled with this error message:

“Assertion failed: bSame [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderGenerationUtil.cpp] [Line: 1984]”

Crash can be reproduced constantly.

Any suggestions what to do or confirmation, that this might be a new or known issue?

Thank you all!

1 Like