UPROPERTY value keeps resetting on every compile

I had this bug happen to me.
It was my inventory items. I have a c++ parent class, then a Blueprint subclass, and then finally the individual item blueprints.

I found a solution was to explicitly set some default values in the blueprint parent class, save and compile. Then go to the individual items and try again. Then it finally saved everything properly.

2 Likes