Allowing actor component to only be added to a class of ACharacter

Try using the name presented in the editor (just “Character”) because in the example, instead of using “APlayerController” it just uses “PlayerController”. Just a shot in the dark.