Making Parent Class variables available in child Blueprint Class

I am simply trying to make properties defined in my parent Class available in a Blueprint derived from this class (ie right clicking the Class in the editor and selecting >
“Create Blueprint Class based on Foo”

These are my properties defined in the Parent Class header

UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Sprite", meta = (AllowPrivateAccess = "true"))
UPaperSpriteComponent* Sprite;

UPROPERTY(VisibleDefaultsOnly, BlueprintReadOnly, Category = "Collision", meta = (AllowPrivateAccess = "true"))
USphereComponent* Sphere;

In the child Blueprint when I open in the editor I confirm that the Parent Class is correct but these 2 variables (Sprite Sphere) are not showing up in the Variables pane. (attached)
What am I doing wrong?

Hi,

You can check “show inherited variables”.

1 Like