UI Input events TriggerActivationEvent firing twice on trigger.

Summary

in the ui example project, the custom_button_umg_input_device script shows binding ui menus to button presses, i noticed that the input events for nexttab and previoustab fire twice, this limits the usefulness for menus with more than two tabs.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

PlayerInput.GetInputEvents(UI.PreviousTab).TriggerActivationEvent.Subscribe(OnPrevTab)


PlayerInput.GetInputEvents(UI.NextTab).TriggerActivationEvent.Subscribe(OnNextTab)


OnPrevTab(Args: tuple(player, logic)) : void =
    Print("Previous Tab Fired")

OnNextTab(Args: tuple(player, logic)) : void =
    Print("Next Tab Fired")

Expected Result

When the input is pressed the function fires a single time

Observed Result

when the input is pressed the function is fired twice

Platform(s)

PC

Upload an image


FORT-1086155 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.