UPROPERTY BlueprintReadWrite not work

Hello Guys sorry about my english rsrs, I have a terrible problem with Visual Studio 2015(Without updates)… I created a class but when I compile the class 2 errors appear on Error List, I made some tests and the error is because “BlueprintReadWrite” is not recognized, when i starting to write and the suggestions to complete appears that arg isn’t showing. If I comment this part of code in both files .h and .cpp the complilation accurs normally. Can someone help me please?

My code is:

//Make Health Property
UPROPERTY(BlueprintReadWrite, EditAnywhere, Catergory = “Base Character”)
float health = 100;

is the pasted code the same as in your .h file? If so, you got a typo for “Catergory” → “Category”

Also, do you have a “GENERATED_UCLASS_BODY()” in your .h file?


That happens when you dont mark the code part as code; Usually in these posts a single linebreak is ignored automatically, thus everything on one line.

“UPROPERTY(BlueprintReadWrite, EditAnywhere, Catergory = “Base Character”)” must be on his own line, not the same that the // comment …
Maybe ?