# "Cannot open include file ..." errors when building a project using the source version of the engine

**URL:** <https://forums.unrealengine.com/t/cannot-open-include-file-errors-when-building-a-project-using-the-source-version-of-the-engine/1356320>\
**Category:** C++\
**Tags:** compiling, unreal-engine, Engine-Source-Code, CPP, question\
**Created:** [November 1, 2023, 6:28pm UTC](https://forums.unrealengine.com/t/cannot-open-include-file-errors-when-building-a-project-using-the-source-version-of-the-engine/1356320 "2023-11-01T18:28:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 1, 2023, 10:29pm UTC](https://forums.unrealengine.com/t/cannot-open-include-file-errors-when-building-a-project-using-the-source-version-of-the-engine/1356320/2 "2023-11-01T22:29:54Z")

</div>

Hey,

Can you try to delete “BuildConfiguration.xml” files in below folders.  
Since different Unreal versions can use same folders such as Appdata, you may have previous settings from early versions. I’m not sure if this is related to your case but it seems Unreal does not like Unity builds starting from Unreal 5.2.

- Engine/Saved/UnrealBuildTool/BuildConfiguration.xml
- **User Folder/AppData** /Roaming/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
- **My Documents** /Unreal Engine/UnrealBuildTool/BuildConfiguration.xml

I had a topic about this, you may want to check.

> [@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/9):
>
> Workaround: add MinSourceFilesForUnityBuildOverride = 1 to each \*.Build.cs of your project, because this error only with non-unity build

---

_[View the full topic](https://forums.unrealengine.com/t/cannot-open-include-file-errors-when-building-a-project-using-the-source-version-of-the-engine/1356320)._
