Buttons going crazy,Buttons Going Crazy
Hey guys, I'm having a bit of trouble with the buttons in my project. It doesn't matter if they are legacy or normal buttons, and no matter how I add them, they keep going crazy.
To be specific, whenever I click the button, it does the action, but it seems like it keeps registering clicks after that, therefore repeating the actions indefinetly. Right now, the button only calls a debug log and closes the menu, so whenever I try to open the menu again, it gets closed instantly.
I tried changing the script, and even when I don't give the buttons an action, just the highlighting starts getting repeated. Anyone knows why this happens?,Hey guys, I'm having a bit of trouble with the buttons in my project. No matter how I add them or if they are legacy or the new ones, they all do the same.
To be more specific, it seems like, once clicked, the buttons keep registering clicks continuosly, therefore repeating whatever action I give them. Even without any action give, just the flashing of the button does the same. I tried changing my script, giving it only a debug action, but it still does the same.
Right now, the button closes the menu and calls a debug log, but if I try to open the menu, it gets instantly closed and the debug log is called again.
Edit: I tried using a new project, adding just the canvas and a button and it keeps happening. This is driving me crazy, someone please help me.
Your answer
![](https://koobas.hobune.stream/wayback/20220613060029im_/https://answers.unity.com/themes/thub/images/avi.jpg)