Please bear with me as I will surely provide too much info for this question…
Our team has be working with UE4 for several months now. During this time, we have played our game in editor thousands of times. We have a UMG start menu that pops up initially and the general string of actions is as follows:
- Start menu comes up (mouse cursor is on the screen and controlling correctly)
- Player clicks on a start menu option (“Start Game”) and the Start Menu goes away and they are now in game
- The editor prompts in the upper left corner “Click for Mouse control”
- Player clicks the viewport play screen and then they have mouse control in game and the cursor is removed (we have a first person game so the mouse now controls the camera)
- The editor prompts in the upper left corner “Shift+F1 for Mouse Cursor”
All that is well and good. Last night, me and another team member noticed some very odd behavior. It is as follows:
- Start menu comes up (mouse cursor is on the screen and controlling correctly)
- Player clicks on a start menu option (“Start Game”) and the Start Menu goes away and they are now in game
- The editor no longer prompts in the upper left corner “Click for Mouse control”
- Clicking on the viewport does nothing and the mouse cursor never goes away. The in game camera can not be controlled as usual, yet clicking and dragging the mouse in the viewport moves the in game camera.
- Pressing Shift+F1 doesn’t seem to change the behavior of the mouse at all.
We are seeing this problem on 4.7.5 and 4.7.6 and on different machines. I doubled checked the editor settings for mouse control while playing and ensured that everything was set to defaults. We are also seeing this while playing in viewport or standalone game. This suggests that it is something we are doing rather than a weird editor issue.
We suspect this is some UMG thing (either from our start menu or from our HUD which is also UMG) not relinquishing mouse control in the same way as it was before. The HUD (which should appear right after the start menu is closed) seems to be the most likely offender right now. Does anyone know what might be causing this behavior?
Thanks in advance!