UMG On key down doesn't work since 4.11
I just updated my project from 4.10 to 4.11. I have a pause menu, I used SetInputModeUIOnly and the SetGamePaused blueprint nodes to activate it. I overwrote the On Key Down function in the widget I used for the pause menu.
Everything worked fine before the update. Now OnKeyDown in the widget is not called. (I tried the same without pauseing the game, the widget still doesn't get any key down event).
Did something change about the way this overiddable function works, or is it a bug? Is there anything I should check, which may cause this problem?
asked Apr 22 '16 at 07:50 PM in Using UE4
I ran into this issue today, as well when upgrading from 4.10 to 4.11. The Widget had reset "IsFocusable" back to false during the 4.11 conversion process. Simply re-enabling this restored the OnKeyDown event to working status.
For reference, I have a PauseMenu child of User Widget. To enable "IsFocusable", I select [PauseMenu] in the Hierarchy panel, then in the Details panel, set "Is Focusable" (found under the Interaction tab) to true.
I hope it's this simple for you, too!
answered Apr 22 '16 at 10:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here