Search Unity

Bug UI buttons don't work on Android build but work in editor

Discussion in 'UGUI & TextMesh Pro' started by Robster95, Sep 12, 2022.

  1. Robster95

    Robster95

    Joined:
    Jul 3, 2019
    Posts:
    154
    I have a problem where the player is not able to interact with the buttons on the main menu while playing on a build for android devices.

    I have the main menu loaded additively on the main game (a small hyper casual mobile game) and in editor and other builds the player is able to click on the buttons and make them do their respective actions.

    However, on my android build of the game nothing happens when the player clicks on the buttons.
    I have all of the UI buttons on a canvas, have an event system component in the scene and have the input settings set to both new and legacy input systems.

    Does anyone know how to fix this problem? If so, I would appreciate any help.

    Thank you