Search Unity

Bug Cannot click on button while game is paused

Discussion in 'UGUI & TextMesh Pro' started by DailyAsian, Jun 2, 2023.

  1. DailyAsian

    DailyAsian

    Joined:
    Nov 7, 2017
    Posts:
    1
    Hi all. Having an issue creating a pause menu in a FPS game that I'm learning on. I currently have it set up that when the player presses Escape, the game is paused.
    upload_2023-6-2_15-6-26.png

    Issue I'm running into is that I cannot use any of the buttons on the pause menu. They do not react to being hovered over.
    upload_2023-6-2_15-7-35.png upload_2023-6-2_15-7-59.png

    I've tried to read through other threads and have tried the solutions there, but I'm unable to get it to work. I read that it's possible there's something blocking the canvas, but my pause menu is the only UI element active at the time of pausing. I also wondered if it's possible that my left click being bound to shooting the rifle thru the Input Actions is somehow stopping it from interacting with the buttons? I'm fairly new to Unity so I apologize if it's a simple mistake that I'm overlooking. Any help is appreciated. Thank you.