Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Buttons not working on Android (but working in Editor)

Discussion in 'UGUI & TextMesh Pro' started by danielesuppo, Aug 9, 2018.

  1. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Hello, I'm developing an app on SamsungS8.
    Most of my buttons are very difficult to press. In Editor everything always work fine, but on mobile most of them must be pressed many times before they response.
    Any suggestion?
    Many thanks!
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,096
    Two things pop into my mind:
    1. maybe your buttons are very tiny, so that it is hard to touch them with a finger. (In this case you could add a transparent image which extend the bounds)
    2. your drag threshold in the event system is too small, so that it always detects drags instead of clicks / taps.