Event dispatcher creates function on bind

Moachi
Mon, 04 Nov 2024 17:28:30 +0000
Programming & Scripting

Hello,

I’d like to share a weird behavior about event dispatcher implementation.
To start with, i’m using UE 5.4 launcher version.

I created an event dispatcher in my HealthComponent actor component:

Then, i went to my Character’s component where i can bind the event to a function:

Here’s the implementation. And as you can see, it also created a weird function, that disappear if i unbind the OnPlayerReceivedDamage. Also, the number increase each time i bind the event:

Note that if i bind if with the node “BindEvent”, the function isn’t created.

Someone knows if this is the normal behavior ? I don’t remember seeing this in previous UE versions.

Thank you

1 post - 1 participant