Button Click Won't Work - Screenshots Provided

When I start the project, I must click Esc for the cursor to show, but on YouTube videos, I’ve noticed that their cursors show automatically once their project has been run. When I click the button, the cursor disappears again and shows no Debug.Log message. Here are screenshots:

Would the problem be because the cursor doesn’t show when launched unless I press Esc? Nothing at all shows up once the button is clicked.

I happen to notice that you don’t have an eventsystem present.
When creating the canvas it automagically creates an EventSystem game object as well with the Standalone Input Module, the module is needed for these button events.
Without it no event is fired thus your button not working.

1 Like

Agreed @MaskedMouse
Looks like you removed the “EventSystem” GO from your scene, would have been automatically added when you added either the Button or the Canvas @AlluraBluebird
As said above, the UI system uses it’s own input systems with graphic (or physics) raycasters, without the event system (and input module) it just won’t work.