I have a game over scene and i have 2 buttons (which i created using the new UI menu, i did’t create them using script), a restart button and an end game button.
When i create the buttons and i add the OnClick function they work fine, but if i load a different scene and then come back to the game over scene they stop working, they don’t even change colors when i hover over them or i press them.
In my case the issue was that the buttons were in a WorldSpace canvas, and as I was changing scenes while maintaining the same camera, Unity didn’t know to properly connect between the Canvas and the Camera, until the camera was tagged as “MainCamera”.
Just logging to help the developers, i have the same issue here, two scenes, the UI works well in the first scene, but the UI does not work in the second. Just copy the “Event System” component from the hierarchy of first scene to the second, worked for me
Tried with “Force module Active” also Time.timeScale = 1; and even created a preload scene for the DontDestroyOnLoad objects, still no luck. I can click the UI Canvas elements at the editor however cant click at the device after reloading menu that has NetworkManager…