UPROPERTY value keeps resetting on every compile

Hey there,
so the solution proposed by @arhiDavid does not work for me, additionally this issue has still not been fixed in 4.25.3. My workaround is to create an (empty) child Blueprint of the Component and use that for my Actor. This way the property values do not get reset.

1 Like

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.

1 Like