Try casting to ACharacter (which is derived from APawn) or APawn class, that should be true, as APawn is derived from AActor and a NavAgentInterface.
Try casting to ACharacter (which is derived from APawn) or APawn class, that should be true, as APawn is derived from AActor and a NavAgentInterface.