It is made UI on a unit, earlier everything worked normally, without problems.

After the last launch (did not change anything) - all elements of the UI are not clickable. I saved the UI and moved it to another stage - everything works. How do I fix this in the current scene?

Update

The problem is that I collected the UI, everything worked fine until yesterday. (Each button was clickable), now, for unknown reasons, after starting the scene - I can not press any button, or rather, they are simply not clickable. Accordingly, I want everything to be clickable. I can not find a mistake, because I have not changed anything. All other objects on the scene - work fine, as before.

  • @KromStern This is a comment made to the question. - Nicolas Chabanovsky

3 answers 3

Try to remove the EventSystem object and add a new one. If events are not handled the most likely thing in it

  • I use usual OnClick (). Deleted the event, added again, but nothing has changed, as if something is stopping to click. This is usually if there is a UI object with the highest priority on top, but there is no such. - Andrei
  • But do not share the project in the approximation, it is so difficult to build guesses - KingPeas

Most likely it is already too late with the answer, but still let it be, because I faced the same problem and did not see the answer understandable to the newcomer. However, a little digging realized. As noted above, you just need to add an EventSystem event handler (lies in the UI section, if that). After adding this button start processing correctly. Below is the screen as it looks.

    I will add another option, why the button may not work.
    On the canvas should be a component of GraphicRaycaster .