I was going to show my game to someone, I runned it and the play button stopped working, I tried disconnecting the "pressed()" function and reconnecting it, deleting the button and making a new one, and nothing worked, Now when I connect a function to the script, " -> void" is added, something that didn't happened to me before, I checked the other scenes and all the buttons in my project stopped working
I take it this is after an upgrade? I think 4.3 makes types hints a default, don’t worry about -> void: that’s the return type of the function (nothing).
Sounds like you may have quite an undertaking, do you get any errors?
After looking at this post, I checked out the way my level was set up, and something had been placed over my whole scene, a node that had wandered down. So did you possibly also have something in your setup that might be covering your buttons? It could be something you don’t immediately notice, in my case it was a canvasmodulate.
I seem to have the same problem. I have a bunch of buttons for my debug menu, and after switching to 4.3, they no longer respond to being clicked in any way. I can tweak their appearance and parameters and have the buttons adapt to those changes in debug, but they no longer respond to clicking…