What am I missing? I am just trying to call a function

That was a typo of mine, always use the Unreal name (with the U for objects, A for actors, E for enums and F for math), the only case where I would say, don’t use unreal name is if you configure DefaultEngine.ini

No, what UPROPERTY does is that it signals that variable to not be garbage collected, additionally it also has specifiers, specifiers are a powerful thing that has too many uses (going to link some info about it here, it’s pretty interesting)

image

What the documentation says about UPROPERTY

EDIT: Editted my previous answers to avoid confusing you with the typo. The one on the TEXT field, is how is the component going to be called on the actor tree

2 Likes