Can't make UPROPERTY variables because UPROPERTY is not defined

I keep experiencing these problems:

Do you get a compilation error? What version of Unreal are you using?

No compiler errors, I am using Unreal Engine 5

Then there’s nothing wrong. Just ignore the squiggle.

I did, but I dont see my local variables, plus live coding is broken:

That says you have EditEverywhere instead of EditAnywhere.

You also need to remove the semicolon at the end of “UPROPERTY(EditAnywhere)”

UE5 can handle a single semicolon for the UMACROS last I tested.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms