I don't care about printing it, I'm using it to debug the problem.
I just made a new project with a new CharacterBody3D in it, with the default movement setup, and the character WILL NOT MOVE until after I have clicked the mouse or alt-tabbed out and back into the scene. There are no other input handling functions anywhere, just the default one (in case that's what might be interfering).
This isn't limited to characters or movement. The keyboard will NEVER report an input to any function until after alt-tab or mouse click.
EDIT TO ADD: Found something odd that I'm sure is related. Keypresses that I do before clicking or alt-tabbing are showing up in the GDSCRIPT EDITOR. So I'm guessing the issue has something to do with focus?
This is proving seriously problematic, that the keyboard is ignored until after a mouse click. Any thoughts as to why this might be happening would be greatly appreciated. I am frustrated beyond belief by this.