That error means Unreal Engine's project descriptor has no DirectX 11 target listed under its supported platforms, so the editor refuses to create a D3D11 RHI session. You fix it by editing the DefaultEngine.ini rendering and target-platform settings and the .uproject platform list, then regenerating project files. This guide covers Unreal Engine 4 and 5 defaults, the "Windows" and "WindowsNoEditor" aliases involved, what happens on a machine with no DX11-capable driver, and when the correct answer is to launch on DX12 or Vulkan instead.
What the Error Actually Checks Before It Fails
Unreal's launch path reads the RHI name from the command line or the editor's rendering settings, matches it against the compiled-in shader platforms, and then checks the project's supported-target list. The error text names the first of those two checks that fails. When you see "since the project is not configured to support it," the engine has accepted -dx11 as a valid RHI request and rejected the project's configuration, not the graphics card.
Two files carry that configuration. DefaultEngine.ini holds /Script/WindowsTargetPlatform.WindowsTargetSettings with its DefaultGraphicsRHI value and an array called TargetedRHIs, while the .uproject file holds a TargetPlatforms array that names the platforms the project claims to build for. The launcher reads both. A project cloned from a DX12-only template or trimmed by a team lead often has TargetedRHIs narrowed to PCD3D_SM6 alone.
A third variable sits outside the project. Before the configuration check even runs, the engine quits with a different message if no DX11-capable adapter is present. If your log says the D3D11 RHI could not be initialized, the fix is driver or hardware, not config. Treat the two messages as separate problems from the first minute.
Unreal Engine 4.27 and Unreal Engine 5 do not share identical default behavior here. In UE4's DX11-era templates, D3D11 was the ordinary default and DefaultGraphicsRHI often sat unset. UE5's templates ship with SM6 and D3D12 paths favored, so the same misconfiguration shows up more often in fresh UE5 projects. The version you're on decides which section below applies first.
Re-enable DirectX 11 in DefaultEngine.ini in Four Edits
You need the editor closed before editing, a text editor, and the project folder open. Work on a copy of DefaultEngine.ini first; config edits that break syntax will stop the project from loading. These four edits restore the settings if someone stripped them out or narrowed them to D3D12.
1: Open Config/DefaultEngine.ini in the project root in Notepad, Notepad++, or VS Code. 2: Find the [/Script/WindowsTargetPlatform.WindowsTargetSettings] section. If it's absent, add it at the end of the file with the array and value below. 3: Add TargetedRHIs=PCD3D_SM5 alongside any existing PCD3D_SM6 entry; keep both if you want the project to run on either RHI. 4: Set DefaultGraphicsRHI=DefaultGraphicsRHI_DX11. 5: Save the file, then reopen the project from the launcher.
Here is what the section should look like, with both shader models retained:
If the launch still fails, check each array entry is on its own +TargetedRHIs= line. ini arrays in Unreal accept both bare and +-prefixed keys, but duplicate bare keys can silently overwrite. Verify with a second launch attempt and watch the Output Log for the line that lists the detected RHI.
If the section or file is missing entirely, let the editor generate it: create a blank blueprint project of the matching engine version, then copy its config defaults. Don't paste an entire file from a different engine version. The keys have changed between UE4 and UE5, and a stale DefaultGraphicsRHI enum name will simply be ignored.
Check the .uproject TargetPlatforms Array Next
The .uproject file is JSON, and a missing TargetPlatforms entry stops the project from being recognized as a Windows project at all. If your team stripped it for a mobile-only build, add the conventional Windows aliases back.
Open the .uproject in a text editor and look for a "TargetPlatforms" key. If it's absent, add "Windows" and "WindowsNoEditor" to the array. "Windows" covers editor and Development builds, "WindowsNoEditor" covers the packaged Shipping build; the failing launcher call in the editor only needs the first. A typical entry looks like this:
After editing the .uproject, right-click the file in Windows Explorer and choose Generate Visual Studio project files. Unreal's launcher also reads the .uproject on startup; if you skipped regeneration and the launch still fails, the missing target could be from a stale binary. Regeneration rebuilds the editor target's data table with the current platform list.
Keep an eye on UE5's other platform names. "Windows" and "WindowsNoEditor" are the UE4-era conventions still honored in UE5, but a team project may instead list "Win64". If neither convention is present, the launcher treats the project as platform-unsupported and issues the same configuration error. Confirm the exact name in the project's generated build files if you're unsure.
Launch the Editor With the Correct -dx11 Switch
The command line is the other place that pushes an RHI request in. The staff who report this error usually tried -dx11, -d3d11, or a shortcut property set years ago. Only one spelling is accepted by the engine; the others fail with the same misleading error.
| Launch method | Command or value | Notes |
|---|---|---|
| Shortcut Target field | UnrealEditor.exe "C:\Project\Project.uproject" -dx11 | Quote the .uproject path |
| Command-line switch | -dx11 | Accepted RHI name |
| Wrong switch | -d3d11 | Not an engine RHI token; produces the same project-config message |
| Editor default | reads DefaultGraphicsRHI | No switch needed when config is correct |
| Other RHI options | -dx12, -vulkan | Require their own TargetedRHIs entries |
Tip: -d3d11 fails even when the config is perfect, because the engine doesn't parse d3d11 as an RHI token. Use -dx11. If your team has a shared shortcut, update it once for everyone.
If the switch is being added by an internal automation or a .bat wrapper, look for -dx11 in the wrapper's command line rather than the shortcut. The launcher processes the first valid RHI argument it finds, so a later -dx12 may be silently ignored. Produce no dash-arg list in your head; see the wrapper file.
Location matters too. UnrealEditor.exe lives in Engine\Binaries\Win64, and you'll find the project's Binaries\Win64 folder during regeneration. A failed launch that never reaches the log window usually means the executable path is wrong, not the RHI.
Fix the Missing SM5 Shader Platform in a DX12-Only Project
Some teams set up "DX12-only" projects on purpose to drop SM5 shader compilation time. In those projects, TargetedRHIs contains PCD3D_SM6 but not PCD3D_SM5, and any -dx11 request fails. This is the most common real-world version of the error, and the answer isn't "always add SM5 back"—it's "decide whether your support matrix needs DX11 at all."
Adding PCD3D_SM5 means the engine compiles D3D11 shaders on launch and cook. On a project with heavy shader code, this doubles shader cook time roughly proportionally to the shader count. Most mid-sized projects see a five- to ten-minute increase in a full cook; a small game sees seconds. Measure it yourself; the engine log reports shader compile counts per run, and the cook summary reports total time.
Removing D3D11 support instead means the editor never compiles or ships DX11 shaders, and DX11-only GPUs aren't supported at runtime. If your minimum-spec graphics card list from the platform cert includes older Intel integrated GPUs, you've likely already committed to DX11. If not, DX12 and Vulkan on Windows 10 are safe minimums as of 2024-class hardware. Check the target platform's official graphics driver matrix before committing.
This trade exists in every Unreal engine release from 4.27 to 5.4, and there's no auto-detect fix built in. The engine won't warn "you disabled DX11"; it just refuses -dx11 when you ask. If you find the config change in a version control diff, the previous owner almost certainly added it on purpose.
Diagnose Whether the GPU or the Config Is Blocking D3D11
The configuration error has a sibling that looks identical in some people's screenshots. Distinguish them before you edit. Both produce a launcher refusal; only one is fixed by editing DefaultEngine.ini.
| Log text fragment | Meaning | First fix |
|---|---|---|
| "not configured to support" | Project config lacks D3D11 target | Add PCD3D_SM5 and DefaultGraphicsRHI_DX11 |
| "RHI initialization failed" | No D3D11 device available | Update or reinstall the graphics driver |
| "adapter not found" | GPU removed or in a disabled state | Check device manager and power state |
| "Failed to create device" | Driver or Windows feature (WDDM) issue | Reinstall driver or check Windows Update |
To reach the log, run the editor from a terminal with the -log switch so the channel window opens. If you need more detail, the engine creates a per-launch log under the project's Saved/Logs directory; the last line before the failure is the most useful. Don't trust a screenshot for the distinction; read a fresh log from your own launch.
Edge case worth knowing: a laptop with hybrid graphics can route the editor to an integrated Intel GPU with weak DX11 support, while the dedicated GPU sits idle. Both the config error and the init failure can appear on the same machine if the GPU assignment changes between launches. Set the editor as "high performance" in the Windows graphics settings before treating it as a config bug.
Match DirectX 11 to the Hardware and Project That Need It
DirectX 11 remains a sensible target for three groups: teams whose minimum-spec includes Windows 7 or 8.1 hardware, teams shipping with an integrated GPU floor, and projects with post-processing pipelines known to behave identically across SM5 and SM6. DX12 and Vulkan are the better default for new UE5 projects on Windows 10 and 11 with hardware from about 2016 onward, where driver support is stable.
The cost of keeping DX11 is maintenance. Every shader must compile under both SM5 and SM6, and a handful of engine features—Nanite and Lumen on their hardware paths—are effectively D3D12 territory in UE5. Ray tracing features are not exposed on a D3D11 RHI. If your project uses any of those, keeping DX11 support is a legacy fallback, not a parity setting.
For a small indie project, the practical rule is this: ship DX12-only when your minimum-spec is a modern dedicated GPU. Add DX11 when certification, Steam hardware survey distribution, or a live-ops customer requires it. The engine surveys and store hardware lists are the reference; those numbers change quarterly, so check the current frontier rather than a two-year-old blog.
If your project is UE4, look at engine build settings once. The engine's own Engine.ini platform config section may also gate which RHIs the editor compiles for the running build; a modified engine built from source with WITH_D3D11=0 makes the same error unavoidable regardless of your project config. Official prebuilt launcher engines include D3D11.
Package and Cook With PCD3D_SM5 Without Breaking Shipping Builds
Re-enabling SM5 in the editor is half the job, because packaging reads a different switch: -Cook and the target platform's packaging settings. If DefaultGraphicsRHI is DX11 but the packaging config inherits an SM6-only cook, the packaged build still lacks DX11 shaders.
Check the project's DefaultGame.ini for a [/Script/UnrealEd.ProjectPackagingSettings] section. Use the Platform list's Windows entry: set it to "Windows" and confirm the RHI lines in the target platform's config. Packaging emits warnings when TargetedRHIs and cook shader formats disagree. Read every warning before shipping.
A quick self-test on a finished package is the direct comparison: install the package on a DX11-only machine and capture the same log, or run the packaged exe from a terminal with -dx11. If the build runs, you're done; if it silently launches D3D12 through a fallback, the packaged binary lacks the reported RHI at startup regardless of what the editor did. That gap is the common failure case in shipping builds.
Intermediate files for SM5 and SM6 live under DerivedDataCache and Intermediate/ShaderAutogen. Clearing those after changing TargetedRHIs forces a clean recompile; expect a long first launch, then near-normal times. The first launch after re-enabling D3D11 on a large project can take 10-15 minutes on a consumer desktop; don't interrupt it, or the cache sentinel will recompile again.
When a Team Template or Plugin Silently Strips DirectX 11
Two sources override the files you just edited: plugin DefaultEngine.ini sections and the engine's own per-project overrides. Unreal merges INI settings with priority: project config beats engine config, and plugins can append to the platform settings if their descriptor enables it.
Check the project's Plugins folder for plugins that declare a [/Script/WindowsTargetPlatform.WindowsTargetSettings] section in their own Config/DefaultEngine.ini. A plugin with a TargetedRHIs=PCD3D_SM6 line on its own, without the + prefix, can wipe the array for the project. This happens more often with middleware plugins than engine ones, and the offending plugin appears in the launch log's plugin scan list.
Version control is the second source. If your project lives in Perforce, Git, or Plastic, look at the last change to DefaultEngine.ini. A colleague turning off D3D11 to speed up CI shader compiles is the single most common origin of this error in team projects. Fix on a branch, run a full cook, and merge—don't edit on a machine and assume the change synced.
A practical habits check: teams that never see this error keep TargetedRHIs under code review with the rest of the project config. Whether you add that policy is up to your pipeline owner; the Unreal documentation on Windows target platform settings describes the merge and priority rules in plain terms.
FAQ
Why does adding -dx11 to the shortcut not fix the error if the config is right?
To hit a valid RHI request the shortcut must also point to an engine build that was compiled with D3D11 support and to a project whose target list includes Windows; from source-built engines with WITH_D3D11=0, replace the binary. — the config error can also come from the engine binary. If the engine was built without D3D11 support, -dx11 is a valid token the engine cannot honor. Check the engine's build configuration before assuming a project-only fix.
My machine has a D3D12-only GPU driver; will editing configs ever help?
No. On a host with no DX11-capable driver, editing DefaultEngine.ini changes which RHI is requested but cannot create a device. Use -dx12 and add PCD3D_SM6 to TargetedRHIs instead. The distinction sits in the log line text: "not configured" is fixable, "device creation failed" is not.
Does the .uproject's Windows entry need both Windows and WindowsNoEditor?
Not for the editor to launch. "Windows" is sufficient to open the editor, and packaged builds need the corresponding packaged platform name that names the Shipping target. The pair convention comes from UE4-era templates, and adding both is harmless. The strict requirement is that at least one Windows-family name is present.
Does Unreal Engine 5.4 ship with DirectX 11 enabled by default?
No. UE5 templates favor D3D12, SM6, and Shader Model 6 features, and some fresh templates ship without PCD3D_SM5 in TargetedRHIs. That's why this error shows up more in UE5 projects ported from UE4 config files or created with a trimmed template. Confirm the value by opening the actual DefaultEngine.ini, not by checking a forum post.
Can a plugin really override the .ini and re-disable D3D11?
Yes, plugins ship their own Config/DefaultEngine.ini and are merged when their descriptor allows it. Middleware rendering, capture, and profiling plugins are the frequent culprits, and an override without the + prefix can replace, not append to, the array. Isolate it by moving the plugin out of the project temporarily and relaunching.
How long does re-enabling SM5 increase shader cook times?
The added time scales with shader count and build machine cores; most claims of a "5-10 minute hit" come from projects with thousands of shader permutations, and that number will not appear in a small game. Before quoting any figure for your own project, measure the same cook twice, once per TargetedRHIs setting.
Is this the same error as "UnrealEditor.exe couldn't be started" when launching from the launcher?
No. The launcher's project-start failure is usually path or elevation related, and the RHI check is a later stage that the same exe passes through when it boots a project window. A launcher that can't find the exe fails before RHI negotiation. Check the shortcut's target path and whether the editor process appears in Task Manager for a second.
Do I need to restart the launcher after editing DefaultEngine.ini?
No; the editor re-reads project files on launch. But environment variables set in the launching process persist until the shell restarts, and a stale UE- or platform variable inherited from a previous run can survive. Launch from a fresh Command Prompt or terminal if an unexplained override remains.