Show Mouse Cursor while Input Mode Game Only causes inconsistent mouse press events

When the Input Mode of a PlayerController is set to Game Only and Show Mouse Cursor is set to true, mouse press events no longer consistently fire. They fire about 25% of the time. Of note, the release event fires every time no matter what. Is there a work around? When using Game and UI, it fixes it, but then I can’t have the mouse for camera following.

Steps to reproduce:

  1. Create a blank project

  2. Create a new pawn

  3. In the pawn’s BeginPlay, cast its controller to PlayerController, then set its Input Mode to Game Only, and Show Mouse Cursor to true

  4. Add an event to the pawn on Left Mouse Button. On press, print “Start”. On release, print “End”

  5. Create a new gamemode, set the default pawn to the created pawn

  6. Set the map gamemode to the created gamemode

  7. Play, and press LMB

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks