Input mode "game only" won't work, game doesn't want to accept any inputs afterwards

I tried to implement a simple retry button, that is supposed to reload the current level and respawn the player. Unfortunately it doesn’t work as intended: The button loads the level and respawns the player, but from there on the game does’t allow any inputs anymore (Can be seen in the linked video). Although I use the same code for starting the level in the first place (Screenshot) and it works, it won’t if I trigger the event via my respawn button.

If I remove the “set input mode UI only” node that is triggered when the player dies, I can repspawn without issues, but before still move while being dead, which is also not ideal.


Video: Can't move after respawn with "retry button" - YouTube

Maybe put the SetInputModeGameOnly on the EventBeginPlay of the character so it is called after the level is restarted and the new character is spawned.