UI button touch input problem when UI is SetActive during game play

Hey everyone I was hoping to figure this out on my own but I’ve spent a lot of time trying to fix the issue to no prevail. I have a Game Over UI that gets set active when the player dies. The touch input for all my UI buttons in the game are functioning as they should and if I start the scene with the Game Over UI set as active the touch input works fine. But if I run the game normally with the Game Over UI set inactive by default, when the player dies and the UI come up the touch inputs no longer work with the buttons. The mouse click still functions in the editor though. Any idea what could be going wrong here?

In addition, If I run the game at lets say the last level with the UI set active, then click the main menu button on the UI (Which functions correctly because the game started with the UI active) and start a new game and die on a level where the UI is set correctly, when the UI sets active in that level the input functions correctly.

activate it only when he dies.


not enough info. are you using a button ?
what do you call a gameover UI ?
either something is not activated or something is over something else, or your game is paused with a fixedupdate not being called because it’s 50 times per second @1 and never called @0 beacause physics are frozen (or not, but I think that’s it, just check)