Ray Tracing bug ONLY in Shipping

I get this Runtime error in packaged shipping game that does NOT occur when game is packaged in DebugGame or Development configuration:

Current version is 5.4.4 but I’ve had this error on previous version of unreal too.

LowLevelFatalError [File:D:\Unreal Engine\5.4.4-release\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 991] 
RayTracingDevice->CreateStateObject(&Desc, IID_PPV_ARGS(Result.GetInitReference())) failed 
 at D:\Unreal Engine\5.4.4-release\Engine\Source\Runtime\D3D12RHI\Private\D3D12RayTracing.cpp:663 
 with error E_INVALIDARG

Any help would be greatly appreciated!

I have this right now. Did you ever find out what the issue is? It seems to work for me in development package but not shipping.

i upgraded to 5.5.2 and it went away, also make sure you DONT have

		bUseChecksInShipping = true;

in your target.cs file