Event dispatcher does not fire when being called

An event dispatcher named “OnClickAddUnit” in blueprint class BP_Player has been created.

A custom event in another blueprint BP_GameplayManager has been bound to it. The text “Init” is printed on screen.

When input is received, the print string node is fired and “Clicked” is seen on screen.

However, the print string node in BP_GameplayManager is not fired, the text “Event fired“ is never displayed.

Would anyone please give me any pointer?

Hi welcome to community,

When gameplay manager runs (probably begin play) are you sure Player Instance is created and valid so you are assigning properly to it not a null reference.

Make sure its right with IsValid node after player instance & lets make sure that the returning “GetActorOfClass” is the right instance that is calling the event with input. (Make sure you don’t have other BP_Player somewhere in world)