character won't move after starting the game

Hello, everyone. I am new to unreal and followed a tutorial for custom gravity. I think there was a problem with the version of unreal I used, as it was different from the tutorial (I am using 5.6). I have two levels (one for the main menu and one for the main game) each with their own game mode and player contol. The problem was after starting the game and getting past the menu, my character won’t move. So instead of using two different player controls, I just used the default thirdplayercontroller but that made the main menu stay instead of disappearing after pressing play. I don’t know much about unreal yet to know what’s causing the problem.

third person character blueprint

main level game mode

default third person player controller

menu level game mode

main menu level player controller

Main menu widget event graph.

project settings

I followed this solution but it makes my main menu stay instead of disappearing after pressing play. I tried using the remove from parent node as well as remove all widgets but it does not work so I went back to using two player controls.