Okay so this is what worked for me.
-
In the section Setup and Required Settings - Set the following value in your
Engine.ini
file:
[DevOptions.Shaders]
NeedsShaderStableKeys=true ,this needs to be True capital “T” -
Converting PSO Caches (also known as expansion)
Here is my working commandlet
E:\Epic Games\Engine\UE_5.1\Engine\Binaries\Win64>UnrealEditor-Cmd.exe “E:\Epic Games Projects\HighTown UE5.1 Post ALS\HighTown51.uproject” -run=ShaderPipelineCacheTools expand C:\PSOCache*.rec.upipelinecache C:\PSOCache*.shk C:\PSOCache\TEST_HighTown51_PCD3D_SM6.spc
Please note the " \ " after PSOCache that are not there in the documentation. This will produce the .spc certificate.