Crash After Package

Hello, I migrated my project to UE 5.5.1 and after the package when I run the game .exe, I get this error message that I didn’t have before:
LowLevelFatalError [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 991]
RayTracingDevice->CreateStateObject(&Desc, IID_PPV_ARGS(Result.GetInitReference())) failed
at D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12RayTracing.cpp:663
with error E_INVALIDARG
Can someone please help me? Thanks in advance

Disable all Raytracing and see if you can get a clean build. You might want to see which options you have on and what the defaults should be and reset all the rendering options to default to test then toggle them off or on building every time until you get a stable build.

I just converted my project over to 5.5.1 and 5 other projects today and I start with every back to default then start working back turning things off and pulling out plugins that I don’t need or want until it works with out any error messages in the output console. My biggest issue was the use of the old input system since all of the projects went back to Unreal 4.

You can also check to see if you can see the error in the output console filter the normal white text out and see what warnings you have and errors you have the clue to the cause could be contained in that log.

Finally since you have a build you can see the log for the crash in the built directory clues might be located in there. If you created a shipping build revert to development or debug and see if it works unchanged, then you know its really close just need to figure out which thing is breaking the shipping build.

Hello, thank you for your reply. I don’t get any error message when I package. I just did a test WITHOUT RayTrace and MegaLight and it works. So no rayTrace for the moment !

1 Like