Hi everyone,
I am facing a persistent issue with my mobile game menu on Android (APK build). The game works perfectly on PC (mouse clicks work), but on the mobile device, the UMG buttons do not respond to touch at all.
I am using Unreal Engine 5. I have spent days debugging this and have already tried the standard fixes found on the forums, but nothing works.
Here is my setup:
-
GameMode: Custom GameMode with “Default Pawn Class” set to None (to avoid character spawning).
-
PlayerController: Custom PC (
pc_menu) assigned in World Settings. -
Logic: On
BeginPlay(inside the PlayerController), I Create Widget → Add to Viewport → Set Input Mode UI Only → Show Mouse Cursor.
Here is the list of fixes I have ALREADY tried (and failed):
-
Hierarchy & Visibility:
-
Button text is set to
Not Hit-Testable (Self & All Children). -
Button itself is
Visible. -
Root Canvas/Vertical Box is
Not Hit-Testable (Self Only). -
Checked padding/bounds, nothing is overlapping visually.
-
-
Input Mode:
-
Using
Set Input Mode UI Onlytargeting the specific Player Controller (Index 0). -
Show Mouse Cursoris set to TRUE. -
Project Settings > Input > “Use Mouse for Touch” is ENABLED.
-
-
Virtual Joysticks / Overlays:
-
I ran
Activate Touch Interfacewith a Empty/None interface to clear any virtual joysticks. -
I set the HUD Class to
Nonein World Settings. -
My Default Pawn is
None.
-
-
Z-Order:
- I set the Z-Order in the
Add to Viewportnode to 100 to force the UI on top of everything.
- I set the Z-Order in the
-
Focus Issues:
-
All buttons have “Is Focusable” UNCHECKED (False).
-
I tried clearing the “In Widget to Focus” pin in the Input Mode node.
-
-
Events:
- I tried changing the button event from
On ClickedtoOn Pressedto rule out touch sensitivity issues.
- I tried changing the button event from
Observations:
-
When I touch the buttons on mobile, there is no hover effect, no tint change, and no print string. It feels like something invisible is blocking the input or the touch is not registering as a cursor click.
-
The virtual joysticks are successfully removed (screen is clear), but the buttons remain unresponsive.
Has anyone encountered a case where UI Only mode fails on Android despite Z-Order and Hit-Test settings being correct?
Any help would be life-saving! Thanks.







