Variable Set triggered by BeginPlay cannot accessed by Get triggered by other event

I have a very simple function that I writen in blue print but it not working.
I have an “Pawn” class and created an Integer variable called “number”, its default value is 0, I use “Event BeginPlay” trigger an “set” node of this variable, set it to 100 for example. Then use Event “Keyboard Input E” to trigger the Get Node of this variable, and then print a string of the value. Howevery it always display the default value of the variable.
Moreover, The set function is rely on another Actor in my game, I have a reference of another actor and then access an Value in it. If I Get the value right after the Set, I can see the new value, but I can only see the Default value if I trigger the print using other event.
Could anyone please tell me what did I missed.