# \[Multiplayer\] How to save player stats between levels

**URL:** <https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [March 13, 2026, 10:00am UTC](https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895 "2026-03-13T10:00:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heurex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heurex](https://forums.unrealengine.com/u/Heurex)\
**Post date:** [March 13, 2026, 10:00am UTC](https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895/1 "2026-03-13T10:00:42Z")

</div>

Hello everyone!

Im doing a multiplayer project and have some problems:

1. How to properly save player stats when traveling between different levels?
  1. Health, stamina, experience, etc…;
  2. Inventory items array;

2. Where and when i need update player stats?
  1. On value change?
  2. When i use Server Travel command?

3. How to properly test multiplayer replication?
  1. Do i need to create session every time i want to do a playtest?
  2. Standalone?

**My current game loop:**

1. When game starts, every player spawns in Level\_Shop, where they can buy items and choose next map;
2. After choosing map, i use _servertravel_ command to load new level with some goals on it;
3. After completing the goals, i once again use _servertravel_ command to move back to Level\_Shop
4. Repeat.

If you can provide some examples, i will appreciate that!

I tried to work with Player State Class, but it didn’t work for me or im using it incorrectly.

---

<div class="post-metadata">

**Author:** ![MajorT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/majort/32/1219796_2.png) [@MajorT](https://forums.unrealengine.com/u/MajorT)\
**Post date:** [March 13, 2026, 12:24pm UTC](https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895/2 "2026-03-13T12:24:21Z")

</div>

For multiplayer servertravel you should enable `Use Seamless Travel `which can be found inside your GameMode.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/b/5ab9ef297850f8fd2f8a299e0d9209d08cdc9ad7.png)

Seamless Travel will make your clients load the map in the background. Once loaded, they will travel there.

On the one hand, it provides a smoother experience, but on the other, it is essential for transferring state from one map to another.

Seamless Travel will **keep your clients connected** , unlike hard travels.

1. To transfer data between maps you can use the `Copy Properties`event in your Player State.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/9/1294900a4ebfcf9db6859454f0cebc3dca3b9537.png)

This event gets called when a SeamlessTravel is detected before destroying the old Player State and after the New Player State was created, therefore you can use the “New Player State” to copy data over to it.  
For instance you grab the current health and save it inside the “New Player State”

1. I don’t fully understand what you mean by “when to update player stats”, are you referring to when to update the Healthbar in the UI ?  
If so, only update when it’s value changes (inside the OnRep\_…)  
There is no reason to do that with ServerTravel together as when you copy your properties onto the “New Player State” it will get replicated and call the corresponding OnRep\_… functions which should broadcast your changes.

2. You can test in PIE by playing with multiple clients

Consider using `Network Emulation `to simulate a real-life scenario with package loss and latency

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/a/54a2b4768884da57499a9186813926d7e81b8aca.png)

This alone should cover a lot of testing area, but it is always worth packaging your game and testing it together with a friend or a second computer.

---

<div class="post-metadata">

**Author:** ![Heurex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heurex](https://forums.unrealengine.com/u/Heurex)\
**Post date:** [March 13, 2026, 12:57pm UTC](https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895/3 "2026-03-13T12:57:53Z")

</div>

Thx for answering!

But for some reason it doesnt work:( Values from Player State reset\\doesn’t save for some reason. Event Copy Properties doens’t even work.

This is my code in Player State:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/d/d6d2a60a5b0106e40240779343f8c9c307a24f93.png)

In Player Character Blueprint, i try to get updated values from Player State on Possessed Event:

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

I use Seamless Travel Flag in Game Mode:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/1/5d19d8501d1cedbdf8fcdeba9a902c641f24b7da.png)

And my Game Mode use valid Player State asset to save variables:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/5/bf54c904f541f034c27a0a2e6f741642fa497466.png)

---

<div class="post-metadata">

**Author:** ![MajorT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/majort/32/1219796_2.png) [@MajorT](https://forums.unrealengine.com/u/MajorT)\
**Post date:** [March 13, 2026, 1:54pm UTC](https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895/4 "2026-03-13T13:54:08Z")

</div>

Using “GetPlayerState[0]” is generally a bad idea in multiplayer context.

Get the player state from the controller instead.

Also place a breakpoint in `Copy Properties` to see if your values are correct. Make sure the “New Player State” is `BP_GameCore_PS` and if Health, InventoryItems, etc have the correct data.

---

<div class="post-metadata">

**Author:** ![Heurex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heurex](https://forums.unrealengine.com/u/Heurex)\
**Post date:** [March 13, 2026, 5:02pm UTC](https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895/5 "2026-03-13T17:02:23Z")

</div>

Looks like my Player State reset variable values between levels.

Level\_Shop

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/4/f142c018ee59734a3abe0aa5fcb5efc1228cc892.png)

Different level:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/c/f/3cf033c7396f1a23ea8ec82a21a6e4d6c865b41e.jpeg)

Do i need to set variables in Player State BP as replicated? For example, health, energy or data?

---

<div class="post-metadata">

**Author:** ![MajorT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/majort/32/1219796_2.png) [@MajorT](https://forums.unrealengine.com/u/MajorT)\
**Post date:** [March 14, 2026, 12:39pm UTC](https://forums.unrealengine.com/t/multiplayer-how-to-save-player-stats-between-levels/2705895/6 "2026-03-14T12:39:52Z")

</div>

Stats should generally be replicated.  
Otherwise they’re only server-side and clients can’t read them
