# Unreal 5.2 - Editor target file does not exist - Cannot resolve DirectX

**URL:** <https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863>\
**Category:** C++\
**Tags:** unreal-engine, editor, CPP, question\
**Created:** [May 12, 2023, 6:49pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863 "2023-05-12T18:49:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kollektorr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kollektorr/32/748778_2.png) [@Kollektorr](https://forums.unrealengine.com/u/Kollektorr)\
**Post date:** [May 12, 2023, 6:49pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/1 "2023-05-12T18:49:43Z")

</div>

Yesterday I installed Unreal Engine 5.2 after official release.

When I create a new C++ project with version 5.2 without changing anything after the project creation  
I have couple of issues:

1. I get below warning when I try to launch the project. It says editor target file does not exist for my project, but it is already there. How engine could not detect the file ? What should I check to dig more ?

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/b/7dbef82a53aded3d74b85b37cd0792e341ecbf1e.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/6/a86edff83fe726ee6d80bc0646731f09f4a1f47a.png)

When I click Yes or No, Editor will open and works (I didn’t see problem with editor)  
But I see this warning after Editor launched.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/7/17793be7f38d26eebb54b4aab86a42b7ffa3bcb7.png)

1. And I get error for DirectX → “Cannot resolve symbol DirectX”

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/0/1207d68618a627a8f153969562583b4fe76f9bc4.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/4/774cc82ce50c3e4f76f20db0819045890e5da4a0.png)

I researched a lot and could not find anything related with my problem.

---

<div class="post-metadata">

**Author:** ![kajisensei](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kajisensei/32/480304_2.png) [@kajisensei](https://forums.unrealengine.com/u/kajisensei)\
**Post date:** [May 13, 2023, 8:09am UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/2 "2023-05-13T08:09:13Z")

</div>

Same problem here. Migrated a 5.0.3 project to 5.2, it compiles, runs and works well, but this DirectX error is showing all around Rider.

Did a full Rider cache invalidation, no changes.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/6/2464ddeb8bf25cf835ed3ee4f8f8eb2c7a062430.png)

---

<div class="post-metadata">

**Author:** ![Mogitu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mogitu](https://forums.unrealengine.com/u/Mogitu)\
**Post date:** [May 13, 2023, 10:00am UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/3 "2023-05-13T10:00:28Z")

</div>

Same issue here. Though as the other poster mentioned the project still compiles and runs fine.

---

<div class="post-metadata">

**Author:** ![grisha666](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grisha666/32/928991_2.png) [@grisha666](https://forums.unrealengine.com/u/grisha666)\
**Post date:** [May 13, 2023, 2:41pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/4 "2023-05-13T14:41:58Z")

</div>

Got same issue, tried Rider cache invalidation, reinstall, einstall DX12, change MSBuild version and all the other stuff, nothing changes this, and yeah, still can compile and run. And got same 9 errors in same 4 files: ElectraPlayerRuntime.Build.cs (2 errors), ElectraSamples.Build.cs (2 errors), ShaderFormatD3D.Build.cs (1 error), DX12.Build.cs (4 errors).

And the question is: will it affect builds or something, or is it just Rider interpritation of Engine? If someone find out how to fix it, let us know pls

---

<div class="post-metadata">

**Author:** ![Kollektorr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kollektorr/32/748778_2.png) [@Kollektorr](https://forums.unrealengine.com/u/Kollektorr)\
**Post date:** [May 13, 2023, 3:33pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/5 "2023-05-13T15:33:32Z")

</div>

In my case, it causes to fail builds.

Btw, I’m using AMD GPU (5700 XT). What GPU you are using guys ?

---

<div class="post-metadata">

**Author:** ![grisha666](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grisha666/32/928991_2.png) [@grisha666](https://forums.unrealengine.com/u/grisha666)\
**Post date:** [May 13, 2023, 4:29pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/6 "2023-05-13T16:29:35Z")

</div>

3050ti  
And I haven’t this problem with 5.1 with same setup and same rider settings, even now when I open same project for 5.1 everything works fine, problem only with 5.2, hope to find solution

---

<div class="post-metadata">

**Author:** ![iMef.UA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iMef.UA](https://forums.unrealengine.com/u/iMef.UA)\
**Post date:** [May 14, 2023, 2:55pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/7 "2023-05-14T14:55:04Z")

</div>

Same problem here, after updating from UE 5.1 to UE 5.2, JetBrains Rider 2023 shows alot of problems:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/a/eeaedc36dd61b2d844f5acfce09be536b1042c31.png)

---

<div class="post-metadata">

**Author:** ![nkpatro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nkpatro](https://forums.unrealengine.com/u/nkpatro)\
**Post date:** [May 15, 2023, 7:15am UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/8 "2023-05-15T07:15:16Z")

</div>

I have the same issue with UE5.2 + Rider. Howver, this error is not showing with UE5.2+VS2019.  
And also this error doesn;t show up with UE5.1.1 + Rider.  
Any suggesions on how to fix this is appreciated.

---

<div class="post-metadata">

**Author:** ![veddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@veddy](https://forums.unrealengine.com/u/veddy)\
**Post date:** [May 15, 2023, 11:33am UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/9 "2023-05-15T11:33:43Z")

</div>

+1 Same here

Edit: might be worth starting a support issue with JetBrains [https://rider-support.jetbrains.com/hc/en-us/requests/new](https://rider-support.jetbrains.com/hc/en-us/requests/new)

I just opened my support ticket, but I am guessing, more customers they get this from more urgently they will approach to the problem.

---

<div class="post-metadata">

**Author:** ![SirJackson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SirJackson](https://forums.unrealengine.com/u/SirJackson)\
**Post date:** [May 15, 2023, 12:21pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/10 "2023-05-15T12:21:55Z")

</div>

Having the same issue on Rider + 5.2.0 both on Linux and Windows

---

<div class="post-metadata">

**Author:** ![Kollektorr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kollektorr/32/748778_2.png) [@Kollektorr](https://forums.unrealengine.com/u/Kollektorr)\
**Post date:** [May 15, 2023, 1:50pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/11 "2023-05-15T13:50:20Z")

</div>

I got the same ‘missing target file’ error with VS2022

---

<div class="post-metadata">

**Author:** ![saurabhs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/saurabhs/32/88719_2.png) [@saurabhs](https://forums.unrealengine.com/u/saurabhs)\
**Post date:** [May 15, 2023, 7:55pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/12 "2023-05-15T19:55:38Z")

</div>

getting the same error, building from Rider works, but when compiing from Live Coding fails with this error

```auto
Running D:\Program Files\Epic Games\UE_5.2\Engine\Build\BatchFiles\Build.bat -Target="ProjectNameEditorNonUnity Win64 Development -Project=""D:/projects/unreal/ProjectName/game/ProjectName.uproject""" -LiveCoding -LiveCodingModules="D:/Program Files/Epic Games/UE_5.2/Engine/Intermediate/LiveCodingModules.txt" -LiveCodingManifest="D:/Program Files/Epic Games/UE_5.2/Engine/Intermediate/LiveCoding.json" -WaitMutex -LiveCodingLimit=100
  Using bundled DotNet SDK version: 6.0.302
  Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -Target="ProjectNameEditorNonUnity Win64 Development -Project=""D:/projects/unreal/ProjectName/game/ProjectName.uproject""" -LiveCoding -LiveCodingModules="D:/Program Files/Epic Games/UE_5.2/Engine/Intermediate/LiveCodingModules.txt" -LiveCodingManifest="D:/Program Files/Epic Games/UE_5.2/Engine/Intermediate/LiveCoding.json" -WaitMutex -LiveCodingLimit=100
  Log file: C:\Users\user\AppData\Local\UnrealBuildTool\Log.txt
  Using 'git status' to determine working set for adaptive non-unity build (D:\projects\unreal\ProjectName).
  Creating makefile for ProjectNameEditorNonUnity (no existing makefile)
  Couldn't find target rules file for target 'ProjectNameEditorNonUnity' in rules assembly 'UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
  Location: D:\Program Files\Epic Games\UE_5.2\Engine\Intermediate\Build\BuildRules\UE5Rules.dll
  Target rules found:
  
Build failed.

```

---

<div class="post-metadata">

**Author:** ![veddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@veddy](https://forums.unrealengine.com/u/veddy)\
**Post date:** [May 16, 2023, 8:58am UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/13 "2023-05-16T08:58:58Z")

</div>

Customer support got in touch with me in regards of my support request and they confirmed it to be a bug. They created a ticket for developers to take a look: [https://youtrack.jetbrains.com/issue/RSCPP-34310/Cant-resolve-DirectX-symbol-in-engine-sources-UE-5.2](https://youtrack.jetbrains.com/issue/RSCPP-34310/Cant-resolve-DirectX-symbol-in-engine-sources-UE-5.2)

Also support asked me to upvote this issue to bring it to attention of developers. So I am guessing it might help if everyone with account and experiencing the same issue can access it and upvote the issue.

---

<div class="post-metadata">

**Author:** ![GniLudio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GniLudio](https://forums.unrealengine.com/u/GniLudio)\
**Post date:** [May 20, 2023, 9:52pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/14 "2023-05-20T21:52:04Z")

</div>

I found a workaround:

1. Create a blueprint project
2. Add a C++ class (Tools → New C++ Class)
3. Build C++ (in Rider)
4. Restart Unreal

Rider still displays 20 errors in 9 files, but recompiling works fine.

---

<div class="post-metadata">

**Author:** ![rootVIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rootVIII](https://forums.unrealengine.com/u/rootVIII)\
**Post date:** [May 29, 2023, 5:02pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/16 "2023-05-29T17:02:05Z")

</div>

Yep I removed 5.2 and downgraded to 5.0.3 for now. That solved the problem but then got some other strange errors despite following a tutorial line for line. I have decided to try UE4.

---

<div class="post-metadata">

**Author:** ![aksarf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aksarf](https://forums.unrealengine.com/u/aksarf)\
**Post date:** [June 3, 2023, 5:48pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/17 "2023-06-03T17:48:38Z")

</div>

There is now a simple workaround in this post by Mikhail Zakharov in the Jetbrains Rider issue tracker that was previously posted here:

[https://youtrack.jetbrains.com/issue/RSCPP-34310/Cant-resolve-DirectX-symbol-in-engine-sources-UE-5.2#focus=Comments-27-7378458.0-0](https://youtrack.jetbrains.com/issue/RSCPP-34310/Cant-resolve-DirectX-symbol-in-engine-sources-UE-5.2#focus=Comments-27-7378458.0-0)

---

<div class="post-metadata">

**Author:** ![Kollektorr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kollektorr/32/748778_2.png) [@Kollektorr](https://forums.unrealengine.com/u/Kollektorr)\
**Post date:** [June 17, 2023, 8:55pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/18 "2023-06-17T20:55:33Z")

</div>

- **DirectX Issue** (there is a workaround)

I tried this work around. It works for me under specific conditions.  
When I first create the project after this fix, new project still has directX issue, I need to regenerate the project files then it fixes the problem.

- **Editor Target File Issue** (still happenning)

Do you any idea about other problem in my original post.  
When I open the project, every time it says “Missing Target File”  
You can see how silly this error is, I swear I have the file from the beginning 😃

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/6/c96c2d2d8cd3fd6c7f70c9d5c539217aebbab091.png)

---

<div class="post-metadata">

**Author:** ![Annette\_Muller1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Annette\_Muller1](https://forums.unrealengine.com/u/Annette_Muller1)\
**Post date:** [August 2, 2023, 6:34pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/19 "2023-08-02T18:34:19Z")

</div>

Hi,  
Same here. I also have an AMD GPU and the build fails (in rider and VS)

---

<div class="post-metadata">

**Author:** ![Kollektorr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kollektorr/32/748778_2.png) [@Kollektorr](https://forums.unrealengine.com/u/Kollektorr)\
**Post date:** [September 10, 2023, 8:07pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/20 "2023-09-10T20:07:25Z")

</div>

To followers of this topic,

Can you try to remove “BuildConfiguration.xml” at C:\Users@Your Username@\AppData\Roaming\Unreal Engine\UnrealBuildTool

This worked for me and I guess if you add or change something in build configuration previously is preventing the build the engine. Try removing this file, it will be regenerated when you create or build a project.  
This is also solution for another problem with 5.3, link below

> [@UE 5.3 - Cannot Build Project \[cannot open include file\]](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490):
>
> Dear community, Please help me about the issue while building UE 5.3 project. I’ll try to explain the problem and what I’ve tried in below. I install the UE 5.3 via Epic Games Launcher. (Windows 11) Launch the engine and created a simple C++ based ThirdPerson project. It gives an error just after the project creation as below I tried to build in Visual Studio but it gives the same error I’ve deleted Intermediate and Binaries folder and generate the VS files manually. T…

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 10, 2023, 8:08pm UTC](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863/21 "2023-10-10T20:08:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
