Project fails to run in Standalone with PCD3D_SM6 but runs in Editor

Hi everyone!

A cry of desperation here.

I am trying to run a project standalone to automate rendering via MoviePipeline+command line.
With D3D12TargetedShaderFormats=PCD3D_SM6 the engine throws this exception:

Error: Assertion failed: InIndex >= 0 && InIndex <= kNullIndex [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Public\RenderGraphDefinitions.h] [Line: 315]

BUT
it runs in PIE/SIE with PCD3D_SM6!
It also runs in standalone with D3D12TargetedShaderFormats=PCD3D_SM5!

I have already tried all of the usually and ChatGPT suggested stuff (cleaning temp folders, resetting ini’s, etc).

Specs are:
Windows 10,
UE 5.4.4
RTX 4090
AMD Ryzen 9 5950X
64 RAM

Please help!

Thanks