x

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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Set User Focus loses mouse focus

Edit: I have discovered this only happens when In Widget to Focus is not null. Also the same behavior is observed when calling Set User Focus after a call to Set Input Mode UI Only.

I've been having lots of frustration switching between "Set Input Mode UI Only" and "Set Input Mode Game Only" when I switch between gameplay and menus. The issue is that whenever the transition happens the mouse focus is lost from the game. It seems to happen regardless if the app is running in the editor, windowed, or fullscreen.

It's absolutely driving me nuts; I feel like I don't want to have to work around this bug when it seems like the purpose of this feature is the exact use case that I am trying to implement. Please halp!

Environment

OS: macOS High Sierra

Engine: 4.18.3

These events exist on Game Instance:

alt text

Which are triggered in the MainMenu map's BeginPlay event:

alt text

And in the Encounter GameInstance:

alt text

And then if the Encounter was won the input mode is returned to Game Only:

alt text

Product Version: UE 4.18
Tags:
more ▼

asked Jan 26 '18 at 06:06 AM in Blueprint Scripting

avatar image

rojuinex
11 2 3 6

avatar image Šneek Jan 28 '18 at 05:18 PM

Are you saying that when you open a menu you can't see your mouse cursor?

avatar image rojuinex Jan 28 '18 at 09:16 PM

No, the app loses focus completely; the cursor becomes visible and a click is required to regain mouse and keyboard input

Also I should mention this is on macOS High Sierra running engine 4.18.3

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first
more ▼

answered Feb 08 '18 at 04:45 PM

avatar image

rojuinex
11 2 3 6

(comments are locked)
10|2000 characters needed characters left

Hey there, can you show a screenshot of how you are using those nodes?

more ▼

answered Jan 26 '18 at 10:01 AM

avatar image

xlar8or
6k 160 128 304

(comments are locked)
10|2000 characters needed characters left
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