[Networking] Clients have valid AController*, but its InputComponent is NULL?

Hey guys,

So I have multiple players connected, each with a valid AController* (doing this in C++), but when I call the following, in the controlled Pawn’s tick:

AController* CurrentController = GetController(); // Valid
UInputComponent* InputComponent = CurrentController->InputComponent; // Returns NULL

Am I missing some initialization stage?

Thanks!

AController doesn’t have a controller looking at the documentation. try casting to an APlayerController