C++ Interface Help

Hi All - I’m struggling with C++ Interface Implementation. My Interact interface function isn’t firing when called from my BP but I can’t figure out why. What am I doing wrong here?..

MDC_InteractInterface.h

UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "C++ Interact Interface")
void Interact();

MDC_ItemBase.h

UFUNCTION(BlueprintCallable)
void Interact_Implementation() override;

MDC_ItemBase.cpp

void AMDC_ItemBase::Interact_Implementation()
{ ... // My function here ... }

My ItemBase.h file correctly has IMDC_InteractInterface included in the class. Here’s (screenshot) how I’m calling it in my BP and I can confirm that the item is valid and implements MDC_InteractInterface.

I’ve also tried making my Interact_Implementation in my header file in my MDC_ItemBase.h virtual and BlueprintNative to no avail.

Can anyone offer some help/advice? Thanks!

In your Blueprint class, override Interact function. In Interact function, right click it and select Call To Parent Function.

C++ is Blueprint’s parent.

Thanks. I think there must have been some conflict with an older Interact Function in the blueprint which was causing issues. I changed the name to InterWithItem and it worked fine. Appreciate the response none the less!!