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. Dismiss Notice

Question Why are all my buttons not working?

Discussion in 'Editor & General Support' started by BunnlyGames, Jul 9, 2023.

  1. BunnlyGames

    BunnlyGames

    Joined:
    Dec 29, 2021
    Posts:
    8
    I go to game tab and press play. The buttons do nothing. Cant click, nothing happens when I hover over it. Can anyone tell me a way of fixing this?
     
  2. NanayKirito

    NanayKirito

    Joined:
    Jun 14, 2023
    Posts:
    2
    eventsystem?
     
  3. DavidTeo

    DavidTeo

    Unity Technologies

    Joined:
    Apr 1, 2021
    Posts:
    69
    Hello!

    It will be good if you are able to provide more information on the problem you are facing, such as:

    1: What are the versions of your Unity Editor / relevant Packages
    2: What is your current UI button set up and how are they hooked up
    3: What is your expected outcome from an action but what's the result instead

    Screenshots / code snippets / Inspector properties on relevant areas will further help in it
     
  4. BunnlyGames

    BunnlyGames

    Joined:
    Dec 29, 2021
    Posts:
    8
    Unity version: 2020.3.25f1
    I just have a button with tmp
    If I hover over it, it should darken but nothing happens and also nothing happens when I click. It used to work but now it doesn't after I edited another scene.
    Also, I have a script in EventSystem that does nothing to the event system. Will adding scripts to it affect buttons?