Disable Input node not working properly?

Hello,
I am trying to disable input after the player character dies and the node does not seem to work.I have tried different variations where I tried the “Get player Controller” node or the “get player character” node for the target. The rest of the event works as intended and the same issue is there if it’s connected to begin play, so the calling of the event should not be the problem.

I have tested in a couple of other projects and the node stops working if the player input is handled within a player controller instead of the actor itself, but shouldn’t this still work then? If I read the documentation right the player controller should house the input for the player character and the “disable input” node should move the target from the controller’s stack of input.

Could somebody tell me if I am doing something wrong here or if the node is just bugged?

I think your cast is incorrect check if Disable Input function fires(click on it and press F9 see if the game stops when the player dies).

Huh it does not stop. That is making me even more confused as the cast does not fail. I have some logic after it that works fine.

I’m currently doing it in a messy way with a boolean variable I created in the controller, but it seems to be able to reach and set it just fine so the logic does reach the controller. I’m honestly unsure how this is not working.

Add the Death event to a button(or to tick event is good as well), and look at the blueprint at runtime then press on the button see how it fires