Access to nested Component

This seems like it should be very easy, but my attempts so far have not came back with anything of value:

I’ve got a camera which is attached to a socket of a mesh, that mesh is a component of a character. How can I access that from the C++ class that the character is derived from?

I have tried to use GetComponentByClass & GetComponents and I cannot seem to get access to it. It seems like a very basic task that shouldn’t be very difficult.

Any help would be greatly appreciated.

Here’s a pic of the BP components: Imgur: The magic of the Internet

GetComponentByClass should work. How are you trying to get the component? What’s the actual code / BP?