How can I grab a particular component off of a root component?

You’re getting that error because you’re not passing in the right type of argument, this is what you should be doing:
OtherActor->FindComponentByClass(UStaticMeshComponent::StaticClass())