Movement Input won't work until I recompile source code

Hi,
I’m learning to make a character movement mechanic, in C++. But I got a weird bug, that is everytime I open my project, movement input won’t work. I go to my C++ source file, insert a ‘;’ character and remove it (to trigger the recompilation) and recompile my code, then it magically back to normal.

It only happen on UE Editor, when I run my game on a separated window (Alt+Shift+P), my input works.

It only happen with C++, I use a Blueprint script to check input, it works.

It’s annoying because everytime I open UE, I have to recompile the whole source code.

I attached my project for reference. I deleted Content folder, if you want to open it in UE, please fill it with StarterContent from a new project.

Anybody have an idea how to fix it?