Is SetActive doesn't working or the button dont work? [Solved]

Hi, Im making a android game and I have a problem with the game over menu, specifically with the button of return to menu, that when I press it, it doesnt do enything, I do not know if it’s a button or script problem :v

I have the script in the Game Manager object, you can see it in the pictures

alt text

Most probably is because you really aren’t clicking the button, but instead another canvas element that is in front of it.

Another possibility is that you dont have the GameManager script in your scene and you are using directly the script from the project folder, to make it work you need to use from a gameobject that has the script attached to it in the scene.