Actor Component UPROPERTY resets value when compiling

If someone needs the answer: Avoid adding C++ components through Blueprints, add it to the C++ class of the target actor with CreateDefaultSubobject on constructor.