Cannot change DefaultPawn

So I am using code to try and set my DefaultPawn to a blueprint that I made based off of a character which has it’s own mesh and inputs, including the ability to jump. However, those changes are not apparent at all as the default pawn is a sphere and my character cannot jump at all. I even tried replacing the DefaultPawn with a character’s class and it still didn’t work.

Not to mention, I cannot change any details in the game mode within the editor so I have to use c++ code as a result. Does anyone have a solution to this?

Did you set the Can jump bool in the character Movement to true?
Also make a blue print based off your game mode then you should be able to change the default classes