Widget Interaction Component on mobile

Hello,
In my game I have a bunch of Widget Components in the world that represent menus. In the previous version of UE (4.12.5) they worked fine since interaction was handled directly by the widget component. However, recently I had to upgrade the project and found that now I need to add a Widget Interaction Component to facilitate interaction with the 3D Widgets. All of this works fine on PC, but when I export the game to mobile (in my case Android), the taps on screen get registered as hovers and I have to tap again to register a click. I assume this is not expected behaviour. What should/can I do to fix this? I do have the UE source from GitHub so I can edit that if needs be.

Any help is much appreciated.
Thank You

PS: The only workaround I found was to use the “OnHover” event for the buttons, which does work, but it doesn’t help other components like checkboxes or sliders.

Hello Stealforge,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints/widgets/settings that may be involved with this issue?

Hello,
Please find attached a test project made with version 4.13.1 which reproduces the issue.

Starting from a blank project with no editor content, I added a few basic blueprints (game mode, pawn, controller etc.). I then added a UMG widget with a button and an image which are set up such that the button turns red on hover and the image turns green when the button is pressed. Finally, I added a Widget Interaction Component to my player controller with the Interaction Source set to Mouse. Touch input events (pressed and released) are rerouted through the Widget Interaction Component to be Left Mouse Button events.

On PC (i.e. in Editor), this works as expected. However, once deployed to android, the button turns red on the first tap and then the image turns green on subsequent presses.

I hope this of some use in fixing this issue. Please let me know if you require any further details.

Thank you.

link text

After taking a look at the project provided I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to use the provided link for future updates. Thank you for your time and information.

Link: Unreal Engine Issues and Bug Tracker (UE-37106)

Make it a great day