# How do I save and load everything in a level?

**URL:** <https://forums.unrealengine.com/t/how-do-i-save-and-load-everything-in-a-level/410022>\
**Category:** Blueprint\
**Tags:** slot, save-game, unreal-engine, Blueprint, question\
**Created:** [November 19, 2017, 2:12pm UTC](https://forums.unrealengine.com/t/how-do-i-save-and-load-everything-in-a-level/410022 "2017-11-19T14:12:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordonbc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jordonbc](https://forums.unrealengine.com/u/jordonbc)\
**Post date:** [November 19, 2017, 2:12pm UTC](https://forums.unrealengine.com/t/how-do-i-save-and-load-everything-in-a-level/410022/1 "2017-11-19T14:12:52Z")

</div>

Hi, How do I save and load the game map and all the objects in it?

I have tried using the save and load from game slot and I can save and load the player’s position but how do I save and load all the objects within the world, for example dropped items and player’s inventory(when I get round to making that)?

Here’s the blueprints so far:

Load Game:

 ![220712-loadgame.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/0/6009bb6c7f58af4c8f67bb3d2ae252bf0d6abc65.jpeg)

Save Game:

 ![220714-savegame.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/f/19f2b5e36c30277498230338d303b253d640d261.jpeg)

Edit: I think it is something to do with making an actor list and saving that?

---

<div class="post-metadata">

**Author:** ![Xelj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xelj](https://forums.unrealengine.com/u/Xelj)\
**Post date:** [November 19, 2017, 5:28pm UTC](https://forums.unrealengine.com/t/how-do-i-save-and-load-everything-in-a-level/410022/2 "2017-11-19T17:28:33Z")

</div>

You must save class, coordinate and needed variables for all needed objects, like dropped items or inventory, then when loading spawn that objects and set their variables.

---

<div class="post-metadata">

**Author:** ![jordonbc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jordonbc](https://forums.unrealengine.com/u/jordonbc)\
**Post date:** [November 19, 2017, 8:30pm UTC](https://forums.unrealengine.com/t/how-do-i-save-and-load-everything-in-a-level/410022/3 "2017-11-19T20:30:28Z")

</div>

I have tried creating an array of actors saving that to the file and spawning them in a loop but i get an error saying that the class is null and cant be spawned:

 ![220750-error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/8/21846015543602fdf5cd75c0b12e2faa36479024.jpeg)

 ![220771-loadsave.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/1/42130d0dbb36b99cef8ae5015a6346bd971572dd.jpeg)

 ![220772-savesave.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/6/73641aba0de3f92294462b1b557831f1c63c6045.jpeg)
