Error at package launch

After doing my packaging without problem, when I launch my exe I have this crash:
Unable to launch with RHI ‘DirectX 11’ since the project is not configured to support it.

LowLevelFatalError [File:D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\Windows\WindowsDynamicRHI.cpp] [Line: 824]
Unable to launch with RHI ‘D3D11’ since the project is not configured to support it.

My project is using 5.5.3 with NANITE, LUMEN, MegaLight, Raytracing.
It’s usind Directx12 and not Directx11.

I have tried to force the D3D12 in my exe but then I have the same crash but with “Unable to launch with RHI ‘Directx12’ since the project is not configure to support it”.

I have tried to delete my Binaries, DerivedDataCache, Intermediate and save. after re complile all but it’s still the same.

I’m using DLSS 4 plugin

Please Help me!!!

What us the RHI set to in the project settings?

As I said it’s DirectX 12

Does the game pack in dx12 mode when the dlss 4 plugin is disabled?

Do you have shader model 6 enabled?

I have Shader model 6 enable and even without DLSS it’s packaging well but the same crash at launch

Have you tried forcing it with the command line -d3d12 ?

Could also be a driver problem. Try reinstalling your gpu drivers if your card supports dx12

As I said in my message, I’ve tried but then I have the same message after the crash telling me that my project is not set for DirectX 12…

I have a RTX 3090 and I have tried to re install 10x the driver

Try verifying your engine and doing a package of a simple example project to see if it’s limited to your current project or if it happens on every one.

You can also use DDU to uninstall drivers so that no parts of the driver remain.

It’s limited at my project, I have tried on other small one.
It was working when it was 5.5.1 but now it’s not working anymore.
I have tried to uninstall the engine and also all the plugin.

Maybe the default config changed during the 5.5.2 hotfix. Try copying over DefaultEngine.ini from the newer package into your project (just back it up) and see if it launches correctly

Just be sure to copy over the info from
[/Script/EngineSettings.GameMapsSettings] regarding the startup map and game mode.

You could take the file from your project and a default after the hotfix and do a comparison.

I have done and it’s the same

In the source of the engine when it searches for the RHI if it’s not found it defaults to DX11

Are you checking your packed game’s config or your projects. They do not have to be the same.

Did you get any warnings when packing the game? Something like write warnings / permission warnings?

I am also having this issue

I don’t have any warning