# My Save/Load system lost var values between levels

**URL:** <https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817>\
**Category:** Editor Scripting\
**Tags:** savegame, load, load-level, unreal-engine, question, load-error\
**Created:** [March 1, 2020, 12:59am UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817 "2020-03-01T00:59:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EstebanUE4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EstebanUE4](https://forums.unrealengine.com/u/EstebanUE4)\
**Post date:** [March 1, 2020, 12:59am UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817/1 "2020-03-01T00:59:32Z")

</div>

Hi all! I can’t fix that:

I have a “world map” where a Pawn (controlled by the player) moves point to point. I save the game after each moves, so you can quit the game and when you run it again the pawn is in the last point. **It works perfectly**.

The problem is that **if I open another level** (by entering a world map point) **the saved slot hasn’t the values**. I load my data at the begin play in the player blueprint (another player bp with run, jumps, attacks…) and the data is lost. I try to print the name of the last world map point saved and tells an empty space(none).  
So, when I finish the level and have to turn to “world map” my last point value is lost.

Save Game BP:

 ![Save Game BP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/d/59d258a3b192dd1989a0b47018ccecf76d715156.jpeg "Save Game BP")

Pawn in World Map (Load):  
 ![Pawn in World Map (Load)](https://i.ibb.co/gP7sWmR/error2.jpg "Pawn in World Map (Load)")

Pawn in World Map (Save):  
 ![Pawn in World Map (Save)](https://i.ibb.co/pnB5Sqj/error3.jpg "Pawn in World Map (Save)")

Player in Level:

 ![Player in Level](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/c/f0c6101a3f422b34f34da1d4e69c3c8754994d14.jpeg "Player in Level")

Print after entering the level from world map:

 ![Print](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/5/2255d91426148448df69961b5413cdd63c13772f.jpeg "Print")

Error in UE editor:

 ![Error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/2/f924c89735285e43d24f819f274e4b14f71a655c.jpeg "Error")

Very thanks for taking time answering me.

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [March 3, 2020, 4:07pm UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817/2 "2020-03-03T16:07:03Z")

</div>

try to set the load and save up like this

 ![297216-save.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/4/f045f2e92b8f11d74b99e2a168c2e5ee99f1a9db.png)

 ![297217-loadx.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/7/df7e2a3de5abbfade6223b1b0611c90dc9fb259d.png)

---

<div class="post-metadata">

**Author:** ![EstebanUE4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EstebanUE4](https://forums.unrealengine.com/u/EstebanUE4)\
**Post date:** [March 3, 2020, 4:57pm UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817/3 "2020-03-03T16:57:38Z")

</div>

Thx but it didn’t work. As I said before everything goes right untill I save the data in another level. Even quitting the game in another level without saving works perfectly.

**To be more specific, I am in a Mario 3 World, so I enter a level, and if I try to save data while in the level, I lose the original data from the world map (including the current location which is the point).**

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [March 3, 2020, 5:28pm UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817/4 "2020-03-03T17:28:54Z")

</div>

Way do you use a sequence in the save game?

---

<div class="post-metadata">

**Author:** ![EstebanUE4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EstebanUE4](https://forums.unrealengine.com/u/EstebanUE4)\
**Post date:** [March 4, 2020, 10:19am UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817/5 "2020-03-04T10:19:35Z")

</div>

To be more orderly, but I check it. Thx for the point!

---

<div class="post-metadata">

**Author:** ![EstebanUE4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EstebanUE4](https://forums.unrealengine.com/u/EstebanUE4)\
**Post date:** [March 4, 2020, 10:24am UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817/6 "2020-03-04T10:24:33Z")

</div>

Still not working ☹

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [March 4, 2020, 2:30pm UTC](https://forums.unrealengine.com/t/my-save-load-system-lost-var-values-between-levels/461817/7 "2020-03-04T14:30:32Z")

</div>

Here isa link to an options menyu from Frost Crack Studio that saves some settings:

[FCS Menu V1.3 UE4.22.zip - Google Drive](https://drive.google.com/open?id=13igmgdIi1tF_e_i0-F0wi8OT3gfPaRHQ)’’

You can look at the BluePrints to see how the save system is setup.
