Include paths are off when building engine modules

ddbrown30
Sat, 30 Aug 2025 00:38:26 +0000
C++

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:

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?

1 post - 1 participant