I set up a JumpHeight variable in my C++ script, made it editable in blueprint and set its default value to 500.0f in the constructor. Right after that, I do
GetCharacterMovement()->JumpZVelocity = JumpHeight;
After I compile, the Jump Z Velocity in the Character Movement Component from the blueprint updates to 500.0f. But if I change the Jump Height variable in the Blueprint Editor, the Component does not update and stays at 500. How can I make it sync constantly with the Jump Height set in blueprint?