Can anyone help me please - OurVisibleComponent is undenified.

Hi I’m a 14 year old and i whould like to have some help.

I’m new to the the programming stuff so I’m following all kinds of tutorials in here.
I started with the Programming Quick Start that worked out pretty well.
Now am I at the Player Imput and Pawns Beginner Tutorial but right there was a big wall what stopped me.
I followed everyting on it and still something was not right.

The code: OurVisibleComponent = CreateDefaultSubobject<UStaticMeshComponent>(TEXT(“OurVisibleComponent”));
But the first code: OurVisibleComponent is undenified.

I hope that someone can help me pleas.
Thanks for your help.

I am sort of new also but make sure the OurVisibleComponent is identical to the spelling capitals and all in our .h file

Is OurVisibleComponent defined anywhere?

Check out the header file (.h) your class includes.
Make sure it contains a line similar to:



    UStaticMeshComponent* OurVisibleComponent;