# The best way to trasfer variables from Lobby Player Controllers to In-game Player Controllers

**URL:** <https://forums.unrealengine.com/t/the-best-way-to-trasfer-variables-from-lobby-player-controllers-to-in-game-player-controllers/561341>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, unreal-engine, UE5-0, question\
**Created:** [May 19, 2022, 6:53pm UTC](https://forums.unrealengine.com/t/the-best-way-to-trasfer-variables-from-lobby-player-controllers-to-in-game-player-controllers/561341 "2022-05-19T18:53:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ghullie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ghullie/32/727344_2.png) [@Ghullie](https://forums.unrealengine.com/u/Ghullie)\
**Post date:** [May 19, 2022, 6:53pm UTC](https://forums.unrealengine.com/t/the-best-way-to-trasfer-variables-from-lobby-player-controllers-to-in-game-player-controllers/561341/1 "2022-05-19T18:53:18Z")

</div>

Hey, I have this struct called PlayerInfo containing a bunch of info about the player that is generated when the player logs in to the session and changed based on choices they make in the lobby, but I’m having a hard time moving it over to the in-game player controllers after the servertravel.

How would I get a variable from the player controller in the lobby map to the player controller in-game? Ive tried saving it to each player state, but it seems it is being destroyed between maps.

Inside Game Mode

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/8/7f80776ee4e3eb4b75638a40ee4a83e3f2a2f8ec.png)

Inside the Player State

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/3/cd394bed49c8aa1a0f082f90cbdee42f936d7fd8.png)

Unfortunately when i use the logic above it doesnt make it through to the next map. I suspect it is because the player state is destroyed?

I use the same custom player state on both maps, casting to it works without a problem, but the variable is just empty on the ingame map

Any help appreciated
