Will vairable persist when game level changes?

I am not sure, but I found that one String variable in my GameMode seems be reset after I load another Game Map.

I have set the variable in one Game Map, and after I load another Game Map,
I tries to print the String variable in Level Blueprint of the another Game Map, but it outputs empty String.

So, do variables not persist among Game Map?

Use gameInstance to store variables between levels.

You might also want to have a look at SaveGame objects. They’re very easy and straightforward to use, and will let you keep any variables stored not only across maps but also when the player quits the game.

Thank you all