Search Unity

Buttons events not working on Android after upgrade to 2020.1.15f1

Discussion in 'Android' started by UnityDeveloper21, Dec 1, 2020.

  1. UnityDeveloper21

    UnityDeveloper21

    Joined:
    Apr 30, 2018
    Posts:
    25
    Hello,



    I've upgraded my project to 2020.1.15f1 and after doing a build to Android the buttons click are not working. Seems the function that is suppose to be called is never called.



    Like something is intercepting it because the console message does not appear in the function in Logcat.



    Any ideas?
     
  2. fkhaller

    fkhaller

    Joined:
    Nov 18, 2020
    Posts:
    3
    Are you using the new input system? If so then it sounds like you are missing the EventSystem Game Object.
     

    Attached Files:

  3. UnityDeveloper21

    UnityDeveloper21

    Joined:
    Apr 30, 2018
    Posts:
    25
    i have the event object that gets added automatically when adding a canvas.

    is what you are referring to different?
     
  4. UnityDeveloper21

    UnityDeveloper21

    Joined:
    Apr 30, 2018
    Posts:
    25
    just saw your attachment. yes i have that
     
  5. UnityDeveloper21

    UnityDeveloper21

    Joined:
    Apr 30, 2018
    Posts:
    25
    What I'm seeing is that the button is not even clickable... It doesn't get pressed as if there is something in front of the screen...