x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE Github Master branch
Tags:
more ▼

asked Oct 06 '16 at 12:31 PM in Bug Reports

avatar image

Stealforge
11 1 4 4

avatar image Rudy Q ♦♦ STAFF Oct 06 '16 at 03:02 PM

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?

avatar image Stealforge Oct 08 '16 at 05:45 AM

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

witest.zip (384.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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: https://issues.unrealengine.com/issue/UE-37106

Make it a great day

more ▼

answered Oct 10 '16 at 06:11 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question