Cannot click button - hover events work, nothing blocking

I have some buttons that respond to hover events but not click events.

Using the widget reflector I can determine that the buttons are visible and nothing else is blocking the path.

Input mode is set to Game/UI, and I also tried UI only mode as well - no difference.

I replaced the widget with a blank one that only has a single button and its the same problem. I have “clicked events” enabled on player controller, though I think that’s not relevant.

The buttons have some logic that will be obvious but I also have some print strings and breakpoints on them - nothing responds.

Not sure what else to check. Anybody got an idea?

Here is the reflector:

BTN_Training and InvisibleButton are the ones to get clicked and both are visible.
I also tested with just a generic button as well and its same story.

(I’ve also set the text to not hit testable - it’s not an issue, its child of the button and doesn’t effect anything)

I found the problem.

I had some debugger stuff running on tick that I forgot about which was messing with the input state. It was setting the input mode to UI every frame, which I wouldnt expect to cause a problem (it was working before), but removing that from tick fixes the issue.

1 Like