Download

First UPROPERTY in a sequence is not showing up in DetailsPanel

I have three UPROPERTIES:


UPROPERTY(Category = "Gravity", EditAnywhere, BluePrintReadWrite)
bool Push;

UPROPERTY(Category = "Gravity", EditAnywhere, BluePrintReadWrite)
float GravityStrenght;

UPROPERTY(Category = "Gravity", EditAnywhere, BluePrintReadWrite)
bool UseDefaultGravity;

No matter the order of those three, the first one won’t show up in the Details Panel. The other two always do.
Any ideas?

i just copy+pasted that code straight into my project and it worked fine >_< but on a side note try changing that P in BlueprintReadWrite to lowercase gotta tread Blueprint as one word if that fails is there any other code above this section?

Ah, wasn’t aware of the lowercase stuff. Uhm, but it did not change anything.
However, I moved the properties right below the ctor and dtor and now it works :slight_smile:
Maybe we have to put them before any function declarations? Not sure what was going on.
Thanks!