Key Press Event Not Triggering in Empty Level with Custom Player

I am learning Unreal Engine 5.1.1. and I have tried to integrate the Photorealistic 3D Tiles from the Google Maps Platform in Cesium for Unreal.

I am able to successfully integrate Google Maps with Cesium into unreal projects.

And further, I created a BluePrint, called BP_Player.

By these steps,

Got the Blueprint with this name.

image

Then after I created the following event graph,

and then added an event with the R key pressed to print the text Hello on the screen.

and I run the application, and Press R, nothing happens on the screen.

and I checked the BP the event hasn’t been activated.

Additionally, I added a Print String node to the beginning of the event graph and connected it to the Exec output of the Event Begin Play node.

image

This prints a string to the console window when the game starts. If you see the printed string.

image

What else do I need to set up to make this work? Most of the tutorials start with the starter content, and everything seems working, but when I start with the empty level. I am not able to work, what am I missing here?

Did you enable input?

image

I created a new simulation project and Modified BP_SimsPlayerController, the other input actions setup already on that project works, but what I have setup never works.

Can you please explain where should I place the blueprint you have suggested?

In the pawn :slight_smile: