Why "InputComponent" is null when spawn from BP !?

Hi, using UE5.0.2

i’m having a custom Pawn which when set as default in the GameMode spawns automaically and works correctly regarding keybinding (i.e. “InputComponent” is not NULL), but when i spawn an instance from the level blueprint or the game manager blueprint, the “InputComponent” is NULL.

Is there’s some known bug or i’m doing something wrong ?

This is the spawn BP code:

I figured it out… i had to enable auto possess in BP and choose Player 0. I guess this enabled the InputComponent !

Cheers !

1 Like