I had a Ufunction that used BluePrintNativeEvent, I removed it and went with BluePrintImplementableEvent and now my UFunction is suggesting the object has it already defined elsewhere. I took the “_Implementation” off the backside of the function implementation.
Hello, Thumper
For the build to succeed, please make sure you have the following declarations in your .h file:
UFUNCTION(BlueprintImplementableEvent, Category = Test)
void TestFunction();
void TestFunction_Implementation();
In your .cpp file, please implement the definition for TestFunction_Implementation():
void AMyPawn::TestFunction_Implementation() {
GEngine->AddOnScreenDebugMessage(-1,-1, FColor::Cyan, TEXT("Test function implementation"));
}
This should do it.
Hope this helped! Have a great day!