Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

New UI on Android with Unity3d 5.00. Basic button handers not working?

Discussion in 'UGUI & TextMesh Pro' started by ehfdub, Mar 26, 2015.

  1. ehfdub

    ehfdub

    Joined:
    Apr 14, 2014
    Posts:
    1
    I upgraded from Unity 4.6 to 5.0 and my existing UI stopped working on Android (button presses are no longer working). As a test I created a new Unity 5.0 project with a single button and that fails as well.

    Is there something simple I'm missing here?

    Here's the steps I took (as simple a project as it gets):

    - created a new empty Unity 5.0 project
    - added a new UI button (leave all defaults using "Transition: color tint", screen space overlay, etc)
    - built for Android

    I got two different results on two different devices ...

    On a Nexus 5:
    The button presses are ignored (does not change to highlighted state etc). The Android logcat does show this for each tap
    03-26 09:15:36.215 586-606/? V/ImmersiveModeConfirmation﹕ ClingWindowView.onTouchEvent

    On a Kindle HD Fire:
    The button accepts the press (changes to highlighted state) but does not revert back to unpressed when released.

    The Unity editor works fine. I have not tested iOS yet. I played around with the public variables on the EventSystem GameObject but still could not get it to work.

    Any ideas?