Game Window Does Not Have Fucus

I am starting work on a new game getting the UI set up and I’m stating to notice that when I run the game it does not have focus. I have to click in the game first in order to interact with the main menu. All I have right now is a main menu and it doesn’t matter if I run it in PIE or package it and run. When the main menu first opens it does not have focus. I have been on Google for a while and have found a number of fixes/workarounds but nothing seems to work. I am setting “Show Mouse Cursor” to true and hiding the crosshairs. Any suggestions will be greatly appreciated.

I have the same problem. I created a new vr project with template to reproduce it which its the same. I have tried a github build of the engine as well as the normal launcher version. (I am using 4.13)

This is causing major problems for our VR game! As in vr, you have to click on the game window every new mission which means removing headset.

As well as that, the menu widget buttons have the box around them, even though render focus rule is always off in settings. This may be related to this problem.

I was able to get this working correctly by doing this in the level blueprint:

107895-screenshot.png

Thanks, same here. Is this native to 413? Because people need to know if its not a engine bug related issue. In VR games, this causes many problems, and due to previous workflows, this is a new addition.

Aside from that, the one thing I am left with, which is probably down to this issue is the boxes around all menu widget buttons. This looks very messy, and many people must be using menus and widget buttons.

I have a wprk around for for game window, but what about widget buttons?

Thanks, same here. Is this native to 413? Because people need to know if its not a engine bug related issue. In VR games, this causes many problems, and due to previous workflows, this is a new addition.

Aside from that, the one thing I am left with, which is probably down to this issue is the boxes around all menu widget buttons. This looks very messy, and many people must be using menus and widget buttons.

I have a work around for for game window, but what about widget buttons?

There are 3 input modes, UI Only, Game Only, and UI and Game. I guess I don’t really think its a bug but more what the default setting is. As for the buttons I’m not sure I haven’t had any problems with buttons. But I am not working in VR at the moment.