A licensee reported an issue where mouse events are not able to be used as touch events on Android apps. This was specifically reported on and tested on Chromebooks. After working with Chris Babcock, it was discovered that this was able to be worked around by changing the following If condition in LaunchAndroid.cpp to be false and skip the following block of code:


This is not a valid solution for the issue however and this report has been entered for a solid fix.

Regression?: No
This did not happen in 4.19.2, but does occur in 4.20 and thus is not a regression at this time.

Steps to Reproduce
  1. Create a project from the Top Down template.
  2. Enable "Use Mouse for Touch" in Project Settings > Engine > Input > Mouse Properties.
  3. Enable "Package game data inside .apk?" in Project Settings > Platforms > Android > APK Packaging.
  4. Package the project for Android.
  5. Transfer the APK to a Chromebook and install it.
  6. Start the application.
  7. Attempt to use the mouse to click in the app to move the character.
    Result: The mouse events do not work and the character does not move.
    Expected: The mouse events are able to move the character as they are treated as a touch event.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-71709 in the post.

Login to Vote

ComponentPlatform - Mobile
Affects Versions4.
CreatedMar 18, 2019
UpdatedSep 16, 2019