Search Unity

UI not working

Discussion in 'UGUI & TextMesh Pro' started by unity_qHObr2Xnlp3pig, Jul 8, 2020.

  1. unity_qHObr2Xnlp3pig

    unity_qHObr2Xnlp3pig

    Joined:
    Jul 8, 2020
    Posts:
    1
    am having a problem with the UI buttons, I am using a Linux OS and Unity 2020.1, My problem is that I can not click the UI buttons, it doesn't even highlight. I have an Event System, nothing is on top of the UI button and my script is correct. Any suggestions?
     

    Attached Files:

  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,096
    Has your Canvas a "Graphics Raycaster" attached?
    Does your Button have an
    Image
    (or another component which derives from
    Graphic
    ) and is
    Raycast Target
    checked there?