My character's variables refresh everytime i restart the editor ue5.1

Are you maybe calling createdefaultsubobject again on the skeletal mesh in your constructor?