Following the tutorials on the wiki, I got a custom skeletal control (based on FAnimNode_SkeletalControlBase) implemented as well as its AnimGraphNode counterpart (based on UAnimGraphNode_SkeletalControlBase) and they both work happily in editor when compiling with the DevelopmentEditor target selected.
If I understand things correctly, the custom AnimNode should live in the main game module as it provides in-game functionality, while the AnimGraphNode should reside in the editor module as it is only meant to provide an UI representation of the node. This seems to be supported by the fact that UAnimGraphNode_SkeletalControlBase depends on some UnrealEd modules and won’t compile correctly without editor support, too.
Still, when I try to compile or run the game without editor support, the engine crashes because it seems to be unable to locate the AnimGraphNode! Am I missing something?
This is an extract of the log showing the errors:
[2014.11.13-17.29.03:359][ 0]LogLinker:Warning: Can't find file for asset '/Script/FooEditor' while loading NULL.
[2014.11.13-17.29.03:359][ 0]LoadErrors: Info Failed to load /Game/Characters/FooChar/Vehicle/Meshes/SK_FooCharVehicle_01_AnimBlueprint.SK_FooCharVehicle_01_AnimBlueprint_C Referenced by EdGraphPin_3310 Property /Script/Engine.EdGraphPin:LinkedTo
[2014.11.13-17.29.03:359][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/FooEditor': Can't find file for asset '/Script/FooEditor' while loading NULL.
[2014.11.13-17.29.03:359][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource 'EdGraphPin_3327': FooAnimGraphNode_Spring /Game/Characters/FooChar/Vehicle/Meshes/SK_FooCharVehicle_01_AnimBlueprint.SK_FooCharVehicle_01_AnimBlueprint:AnimGraph.FooAnimGraphNode_Spring_1
Thanks in advance!