I’m not sure if this is necessary but you could be missing the Super::SetupInputComponent()
Super::SetupInputComponent()