Buttons become untouchable after a while

Everything perfectly works. But after 3-5 minutes in the game, buttons become untouchable. I’m not saying ‘disabled’, they are enabled but touching doesn’t work. If you try over and over again, it works at some point. When you restart the game, it works perfectly again for 3-5 minutes.

I made all buttons not focusable but that didn’t work. Does anyone have a solution?

One thing to consider, check the layers of the widgets. Probably you have of them in front, maybe invisible that prevents touch.