Why is my UPROPERTY variable not updating in-game even though it compiles fine in C++?

I’m coding UE5/C++ and say for an actor or pawn I have UPROPERTY(EditAnywhere ) variables as private

But obviously this is for the editor and not a build outside of the editor

In the editor you have to drop the actor into the level and there you can change the values in the panel