Player Input: Broadcast Messages vs Invoke Unity Events for Buttons

Hello!

I am trying to use the Player Input component set to Send Messages to handle button input.
However, as far as I can tell Send Messages will only fire events when button’s are pressed, and not when they are released. This means that the isPressed property for the InputValue parameter is always true when the event fires.

This is different from the Invoke Unity Events behavior, which will fire one an event for both on button press, and on button release. The button’s state of course can be extracted from the CallbackContext.

Why do these two modes behave differently?

Is it possible to have both events fire when using Send Messages?

Thanks.

Solution is to use the “Press” interaction, although I had to reinstall the Input system package to get mine working.