Hello everyone!
I have a problem with the build when using I’m UMotionMatchingAnimNodeLibrary::OverrideMotionMatchingBlendSettings
(Pose Search Plugin #include "PoseSearch/MotionMatchingAnimNodeLibrary.h"
).
There is a piece like this in the BP (screen 1)
When I try to transfer it to the code, everything looks fine and the IDE (Rider) does not give errors
FMotionMatchingAnimNodeReference motionMatchingNode;
bool result;
UMotionMatchingAnimNodeLibrary::ConvertToMotionMatchingNodePure(Node, motionMatchingNode, result);
<...some code...>
FMotionMatchingBlueprintBlendSettings blendSettings;
bool isResultValid;
UMotionMatchingAnimNodeLibrary::OverrideMotionMatchingBlendSettings(motionMatchingNode, blendSettings, isResultValid);
But when I press the build button, I get an error
PlayerAnimInstance.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl FMotionMatchingBlueprintBlendSettings::FMotionMatchingBlueprintBlendSettings(void)" (??0FMotionMatchingBlueprintBlendSettings@@QEAA@XZ)
As if I do not have the necessary include, but this is not the case because other methods from this class are work: ConvertToMotionMatchingNodePure
, GetMotionMatchingSearchResult
, SetDatabasesToSearch
By the method of elimination, I found out that the build complains about this struct FMotionMatchingBlueprintBlendSettings
. This struct is in the same path
I do not understand what include I am missing for the code to work.
Does anyone know what the problem could be?