did you cast to your player character or to the player controller?
you need to cast to the player character, not the controller.
I will try this, thanks!
solid plugin for handling key rebinding with the Enhanced Input system. Works smoothly and integrates nicely with Unreal projects.
https://www.fab.com/listings/e8a77976-b4d4-4e8f-a4b4-c6a71a98554d