Packaging project results in black screen

I had the same problem, but I solved it in a different way: Shipping build crashes with DX12 and Raytracing enabled - #24 by Mirror_Visuals