why cant i change parented c++ game mode settings in blueprint

i have made a simple movement system with input enhanced and i have set it in the player controller, after that i have set player controller both in project settings and in the game mode and when i run the game, my movement doesnt work, why?

one thing that i found that could be a possibility on why it doesnt work is that the game mode is overriden

but the problem is, i cant change to the project settings game mode, i dont know why

pls help :.(

Make sure you are using proper PlayerController. Test it by adding print string in PlayerController’s BeginPlay. If it does not work, then do the same for the game mode. If game mode does not work, make sure it’s selected properly in the menu from your screenshot.

If game mode is OK, open game mode, click Class Defaults at the top, and make sure proper PlayerController is selected on the right. It must work then :slight_smile:

i did everything with the prints and the print works fine ( basically it prints) but doesnt seem to still work, the class default settings was already changed to the controller i created but it doesnt seem to make my player move


this is in player controller

beginplay works fine, but the rest of the code doesnt want to run

You are using node GetPlayerController inside of it, there is no need for that. In BeginPlay, just add mapping context, and don’t do it again in OnPossess.

Use this in BeginPlay.
image

IA_Movement node can go in to the pawn itself. You don’t have to do it from the PlayerController.

still doesnt seem to work

You need to debug. Add debug in move. If move is not executed. That is probably because the enhanced input system was not set properly. I would strongly suggest to take a look at some video tutorials (and there are a lot of them), and see how it is suppose to be done. I worked on that literally yesterday on my new game, and it worked quite fine.