Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

InputActions no longer fire when SetInputModeUIOnly

I just upgraded my project from 4.12.5 to 4.14.0, and one of the changes was InputModeUIOnly enum changes. When the player opens their Inventory using the InputAction StatsMenu custom InputAction, the StatsMenu Widget is given control and focus with SetInputModeUIOnly. However, in 4.14.0, pressing the InputAction StatsMenu button again never fires the even in the PlayerController again.

In the PlayerController: In PlayerController: Handler for InputAction StatsHandler

And in the PlayerController to give the StatsMenu focus: Giving the StatsMenu focus

Once the SetInputModeUIOnly is run, the InputAction StatsMenu event is never run. This worked as expected in 4.12.X, but is not working in 4.14.0.

Product Version: UE 4.14
more ▼

asked Nov 29 '16 at 07:36 AM in Bug Reports

avatar image

65 10 15 17

avatar image Rudy Q ♦♦ STAFF Nov 30 '16 at 03:14 PM

Hello GrimlessBBS,

This is a known issue. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: https://issues.unrealengine.com/issue/UE-38749

Make it a great day

avatar image GrimlessBBS Dec 01 '16 at 04:01 AM

The linked issue does not appear to be related to my issue. The linked issue is talking about key presses not being sent to controls (like pressing enter does not "click" a highlighted button). My issue is that my PlayerController stops receiving InputAction events when a UI menu has locked the cursor.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You are correct, I misunderstood the issue on my first pass. However, after taking another look this appears to be working as intended. When setting the input mode to UI only, this means that the game will no longer take input that is not coming from the UI that is focused. I ran a couple of tests in 4.12.5 and the only way I was able to get this to work (in the way your expecting) in that version was to not specify the player controller being used for the input mode when it was set. If you set the input mode to UI only in 4.12.5 and specify the player controller being used, I found that this will exhibit the same (expected) behavior shown in 4.14. If you would like to retain input for both the game and the UI, I would suggest using "Set input mode game and UI" instead. I have also provided a link to documentation that provides more information on the nodes used to change input. I hope that this information helps.

Link: https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/CreatingWidgets/

Make it a great day

more ▼

answered Dec 01 '16 at 02:42 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 523

avatar image GrimlessBBS Dec 01 '16 at 05:36 PM

Great, thank you! That will definitely help to get me on the right track!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question