In our current project, we’ve added a custom animation node and have it functioning perfectly in the editor.
We’re now trying to package the build, and are constantly running into this error:
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Applications\Epic Games\4.11\Engine\Source\Editor\BlueprintGraph\Classes\K2Node.h(7): fatal error C1083: Cannot open include file: ‘K2Node.generated.h’: No such file or directory
The “K2Node.generated.h” file does exist at this location:
C:\Applications\Epic Games\4.11\Engine\Intermediate\Build\Win64\UE4Editor\Inc\BlueprintGraph\K2Node.generated.h
That’s with BlueprintGraph included in dependencies - and yes, removing it won’t work.
I’ve also tried adding the include path manually:
PrivateIncludePaths.Add(“C:/Applications/Epic Games/4.11/Engine/Intermediate/Build/Win64/UE4Editor/Inc/BlueprintGraph”);
but this simply results in a lot of linker errors, unable to find the functions K2Node.h is attempting to override.
What can we do to fix this? I’ve searched all over the place, seen several reports of this, with no solution that is relevant to us. We need this resolved soon, if possible…