# UE 5.3 - Cannot Build Project \[cannot open include file\]

**URL:** <https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [September 8, 2023, 11:18pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490 "2023-09-08T23:18:40Z")\
**Posts on this page:** 12\
**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:** [September 8, 2023, 11:18pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/1 "2023-09-08T23:18:40Z")

</div>

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.

1. I install the UE 5.3 via Epic Games Launcher. (Windows 11)

2. Launch the engine and created a simple C++ based ThirdPerson project.

3. It gives an error just after the project creation as below  

4. I tried to build in Visual Studio but it gives the same error

5. I’ve deleted Intermediate and Binaries folder and generate the VS files manually. Then I tried to build the project but it gave same error.  

6. I checked where this file is included, and find out it’s engine class called “CoreNetTypes” which placed in “Engine/Source/Runtime/CoreUObject/Public/UObject/CoreNetTypes.h”  

7. I checked related include folder under Engine/Intermediate folder as below, and it’s there. I didn’t understand how this file couldn’t be found while building.  

8. Then I checked VC++ Include Directories as below for both Engine and Game project in Visual Studio.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/d/deddce67c69ce334530b1486ae1f97bbd6c18b10.png)

- Engine Include Directories  

- Game Include Directories  

1. I’ve checked platform SDKs in Unreal Engine 5.3 Release Notes, and I’m sure that everything is correct.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/f/f4f0d808ab30d63d7e11a3b14ab373e28d1a3f01.png)

2. This is the project directory, I don’t see problem with folder names etc.  
“B:\UNREAL PROJECTS\Test\Test53UE”

NOW…

I don’t know what to do, and really want to use newest version of the engine.  
Please share your comments, correct me if I checked the wrong things etc.

---

<div class="post-metadata">

**Author:** ![Shawntane](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawntane](https://forums.unrealengine.com/u/Shawntane)\
**Post date:** [September 10, 2023, 5:25am UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/2 "2023-09-10T05:25:22Z")

</div>

I’m having the same issue and nothing worked out. -\_-

---

<div class="post-metadata">

**Author:** ![Shawntane](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawntane](https://forums.unrealengine.com/u/Shawntane)\
**Post date:** [September 10, 2023, 6:22am UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/3 "2023-09-10T06:22:23Z")

</div>

Just remove the BuildConfiguration.xml at  
C:\Users@Your Username@\AppData\Roaming\Unreal Engine\UnrealBuildTool  
And it will build

---

<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, 7:55pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/4 "2023-09-10T19:55:38Z")

</div>

Hey @Shawntane

It worked! Thank you so much, you saved the day!

---

<div class="post-metadata">

**Author:** ![Kovalev\_Alexey31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kovalev\_Alexey31](https://forums.unrealengine.com/u/Kovalev_Alexey31)\
**Post date:** [September 17, 2023, 1:41pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/5 "2023-09-17T13:41:06Z")

</div>

> [@Shawntane](#):
>
> Just remove the BuildConfiguration.xml at  
> C:\Users@Your Username@\AppData\Roaming\Unreal Engine\UnrealBuildTool

This not working when compile bins with -DisableUnity parameter with empty c++ project

```auto
"{ENGINE_PATH}\Engine\Build\BatchFiles\Build.bat" "{PROJECT_PATH}\MyProject.uproject" MyProjectEditor Win64 DebugGame -DisableUnity

```

---

<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 17, 2023, 4:34pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/6 "2023-09-17T16:34:23Z")

</div>

My old build configuration xml file also contains “bUseUnityBuild: false”, maybe 5.3 forces to use unity build somehow.

---

<div class="post-metadata">

**Author:** ![RuneArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/runeart/32/879863_2.png) [@RuneArt](https://forums.unrealengine.com/u/RuneArt)\
**Post date:** [September 20, 2023, 3:16pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/7 "2023-09-20T15:16:30Z")

</div>

Deleting the build configuration did not help, the steps I took to achieve this error is.

Download fresh unreal 5.3  
create new empty c++ project  
_error happens_

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

Enyone have another solution?

---

<div class="post-metadata">

**Author:** ![PanosTsacFTW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PanosTsacFTW](https://forums.unrealengine.com/u/PanosTsacFTW)\
**Post date:** [September 20, 2023, 9:05pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/8 "2023-09-20T21:05:02Z")

</div>

Same problem here. Creating c++ project with 5.1 works fine and i can build successfully. But on 5.3 i get the exact same error. Tried to unistall everything and have only 5.3 too but nothing worked.

---

<div class="post-metadata">

**Author:** ![Kovalev\_Alexey31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kovalev\_Alexey31](https://forums.unrealengine.com/u/Kovalev_Alexey31)\
**Post date:** [September 21, 2023, 6:26am UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/9 "2023-09-21T06:26:06Z")

</div>

> [@RuneArt](#):
>
> Enyone have another solution?

Workaround: add `MinSourceFilesForUnityBuildOverride = 1` to each `*.Build.cs` of your project, because this error only with non-unity build

---

<div class="post-metadata">

**Author:** ![RuneArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/runeart/32/879863_2.png) [@RuneArt](https://forums.unrealengine.com/u/RuneArt)\
**Post date:** [September 21, 2023, 7:50am UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/10 "2023-09-21T07:50:58Z")

</div>

I had missed a build configuration file. deleting all build configuration files worked.

For all locations see: [Build Configuration | Unreal Engine Documentation](https://docs.unrealengine.com/4.26/en-US/ProductionPipelines/BuildTools/UnrealBuildTool/BuildConfiguration/)

---

<div class="post-metadata">

**Author:** ![PanosTsacFTW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PanosTsacFTW](https://forums.unrealengine.com/u/PanosTsacFTW)\
**Post date:** [September 21, 2023, 3:54pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/11 "2023-09-21T15:54:29Z")

</div>

Thanks brother! Deleting an old configuration file from Documents fixed the issue

---

<div class="post-metadata">

**Author:** ![Kovalev\_Alexey31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kovalev\_Alexey31](https://forums.unrealengine.com/u/Kovalev_Alexey31)\
**Post date:** [January 13, 2024, 4:04pm UTC](https://forums.unrealengine.com/t/ue-5-3-cannot-build-project-cannot-open-include-file/1288490/12 "2024-01-13T16:04:31Z")

</div>

Fixed by cherrypicking commit [b0b17403e5a11b7b59dcf5168f40f9987340f595](https://github.com/EpicGames/UnrealEngine/commit/b0b17403e5a11b7b59dcf5168f40f9987340f595) to fix compilation non-unity into your custom engine from branch [5.3](https://github.com/EpicGames/UnrealEngine/tree/5.3). In 5.4 this error will no longer exist
