# Include paths are off when building engine modules

**URL:** <https://forums.unrealengine.com/t/include-paths-are-off-when-building-engine-modules/2652245>\
**Category:** C++\
**Tags:** engine-compile, unreal-engine, Engine-Source-Code, question\
**Created:** [August 30, 2025, 12:38am UTC](https://forums.unrealengine.com/t/include-paths-are-off-when-building-engine-modules/2652245 "2025-08-30T00:38:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddbrown30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ddbrown30](https://forums.unrealengine.com/u/ddbrown30)\
**Post date:** [August 30, 2025, 12:38am UTC](https://forums.unrealengine.com/t/include-paths-are-off-when-building-engine-modules/2652245/1 "2025-08-30T00:38:26Z")

</div>

I’ve integrated the engine code directly into my project and I’m trying to compile. I was getting a bunch of weird compile errors that only made sense once I noticed the path errors coming from the build files.

For example, VisionOSTargetPlatformSettings.Build.cs throws an error due to this code:

```csharp
PrivateIncludePaths.AddRange(
	new string[] {
	"Developer/IOS/IOSTargetPlatformSettings/Private"
	}
);

```

This is because it’s resolving as `main\Source\Developer\IOS\IOSTargetPlatformSettings\Private` instead of `main\` **`Engine`** `\Source\Developer\IOS\IOSTargetPlatformSettings\Private`. This is happening for many, if not all, engine modules.

I have no idea why this would be happening. To my knowledge, I haven’t made any local config changes that would affect the include directories. Any help?
