Search Unity

Question Login Authentication UI works perfectly on Unity Editor, but doesn't work on an android device.

Discussion in 'UI Toolkit' started by mkssanudeep, Mar 9, 2022.

  1. mkssanudeep

    mkssanudeep

    Joined:
    Dec 3, 2020
    Posts:
    15
    As seen in the image, you can tell it's all just buttons and input fields. However, the buttons which all worked perfectly on editor and through unity remote, suddenly appeared to not work anymore on a android device.
    Through some searching, I figured, it's because the Text elements also had raycast enabled, which I later disabled and increased the drag threshold on my EventSystem. Now the buttons work.
    However the issue that still persists is, In the editor, the entire login button works, but on my Android device, only the left side of my Login button works i.e I can't click it in between or towards the right side of the button, but only on the left side for the button to be clicked.

    What am I doing wrong?
     

    Attached Files: