UE 4.26 UProperty changed to FProperty

I’m using Unreal Engine 4.26 and UProperty has been renamed but it is throwing me an error saying it is expecting a semi colon before declaring the float value. Has the syntax for exposing a variable been changed? Could it be I don’t have the right header files included?

1 Like

UProperty is a type and depecated in favour of FProperty.
UPROPERTY is a macro that has not been deprecated and is what you’re after.

Okay that makes sense, I forgot macros are all caps. Thank you very much!

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

Privacy & Terms