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

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.