How to link a object reference variable from a blueprint component to its instance?

Hi, I’m a game developer and trying my ways on Unreal. Im having issues with something that I assumed was supposed to be simple:

I have the following structure:

CppActor
-CppComponent
-BlueprintComponent

The blueprintComponent has a object reference variable of type . and call its methods inside it’s blueprint.

On the details page of the BlueprintComponent (on Level context, not My Blueprint context) I can see my variable there ( it’s defined as Instance Editable), but when I try to link it to the CppComponent I doesnt show any option, as if there was no instance of CppComponent on Level.

I’ve already trued changing UCLASS specifiers, but nothing helped.

I’m also aware of the GetOwner->GetComponentByClass inside the Blueprint context, but I’m trying to learn how to use object reference variable properly, without runtime methods like GetComponentByClass .

How do I link my already exposed variable to a given component of same type ?

2 Likes

Up, plz, I would really appreciated some help or direction.

I want to know this too.
How can I set an object reference variable of type (some component) in a component, as another component in the same Blueprint actor.