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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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

Discussion in 'Android' started by mkssanudeep, Mar 3, 2022.

  1. mkssanudeep

    mkssanudeep

    Joined:
    Dec 3, 2020
    Posts:
    15
    So I have implemented all of the features that are displayed on the Sign In screen which are displayed below. Logging in with PLAYFAB credentials, Signing Up, Google authentication and Facebook authentication and Guest Login using the device id. Apple authentication is yet to be executed.

    However on my android device, only the google authentication button works i.e the google icon. When It's clicked it logs into my google play games id and Sign up i.e creating a new account.

    THE PROBLEM (persists only on an android device):

    None of my other buttons work (Log in, Play as a guest, Facebook), well they don't even interact like buttons anymore. Atleast if they were clickable/ interactable, I would have thought it's happening because of the code or cross checked my functions.

    Where should I be looking to fix this? What possibly is going wrong here ?

    The first image is screenshot of the editor, the second being the screenshot from the app on android.
     

    Attached Files:

  2. mkssanudeep

    mkssanudeep

    Joined:
    Dec 3, 2020
    Posts:
    15
    UPDATE: On one device both Google and Facebook icons are interactable and google successfully authenticates, but on another device even though google is interactable, it's not able to authenticate, while facebook isn't interactable at all. However login and play as guest are consistently not interactable.