Gamemode variable after server travel

I’m doing server travel and trying to hold a value in a variable in the game mode.
However after server travel to another level it seems the variable returns to the default value.
Is this the way it’s supposed to be or am I missing something ?

Yes, Game Mode resets each time a new world loads. What you need is Game Instance instead. Or Game State. Depending on your game structure.

Yes… Using game instance works. Thanks.