Button stopped responding...

I somehow deleted my canvas by accident, and I noticed this error too late to undo it. It wasn’t prefabed… Doh!

So, I remade it, the same way I made the first.

For some reason, all the button are not responsive. They don’t even highlight when I place the mouse over them. They are not disabled and are flagged “Interactable”.

I’m kinda in the dark here, because nothing is coded and I have no tool to debug what’s going on.

It sounds like you’ve lost the EventSystem object from your scene hierarchy.

Add it back to the scene with the GameObject>UI menu.

I’ve tried recreating it… No luck.

Well I’m out of ideas…

I would create a new scene and get a basic GUI working, save it to a prefab then bring it to your first scene to see if it works there.

Found it… For some reason, when I recreated it, I probably created the Canvas directly, which doesn’t create a Graphic Raycaster component with it.

Creating a button in a scene without a Canvas creates a Canvas with the proper component.

nice!