Works in Unreal Engine 5.0 to 5.8. Updated November 2026.
Quick answer: make a SaveGame Blueprint to hold your data, then save it to a named slot.
- Create a Blueprint Class with parent SaveGame, named
BP_SaveGame. Add variables such asPlayerHealthandPlayerLocation. - To save: Create Save Game Object (class
BP_SaveGame), set its variables, then Save Game to Slot with Slot NameSlot1and User Index 0. - To load: Does Save Game Exist (
Slot1), then Load Game from Slot, Cast To BP_SaveGame and read the variables.
Step 1: Create the SaveGame Blueprint
- In the Content Browser, right-click and choose Blueprint Class.
- Under All Classes, search for SaveGame and pick it.
- Name it
BP_SaveGameand open it. - Add a variable for everything you want to keep: numbers, strings, transforms, arrays and structs all work.
This Blueprint is just a container. It holds no logic.
Step 2: Save the game
Put this in your character, Player Controller or Game Instance, for example on a Save key or a checkpoint:
- Does Save Game Exist with your slot name. If true, Load Game from Slot and cast it, so you update the existing save. If false, Create Save Game Object with class
BP_SaveGame. - Set each variable on the save object: health, location, level name, collected items.
- Save Game to Slot. Its Return Value is true when the save worked.
Step 3: Load the game
- Does Save Game Exist with the same slot name.
- If true, Load Game from Slot, then Cast To BP_SaveGame.
- Read the variables and apply them: Set Actor Location, set health, open the saved level.
Keep the save in the Game Instance
The Game Instance stays alive when you change levels, while characters and level Blueprints are destroyed. Store the loaded save object in a variable on your Game Instance (set it in Project Settings > Maps & Modes > Game Instance Class). Every level can then read and update it.
What you can’t save directly
Save data, not actors. A reference to an actor or widget points to something that won’t exist after you restart the game.
| Instead of saving | Save |
|---|---|
| A reference to a pickup | Its name or an ID, plus whether it was collected |
| The enemy actor | Its class, transform and health |
| The current level object | The level name as a string |
| Inventory item actors | An array of item IDs or structs |
Where the save files go
- In the editor:
<YourProject>\Saved\SaveGames\Slot1.sav - Packaged Shipping build on Windows:
C:\Users\<you>\AppData\Local\<ProjectName>\Saved\SaveGames\ - Packaged Development build: usually in the
Savedfolder next to the game.
Delete the .sav file to start fresh while testing.
Saving many objects or large arrays can cause a short hitch. Use Async Save Game to Slot and Async Load Game from Slot to save in the background.
FAQ
How do I make several save slots? Use a different slot name for each, like Slot1, Slot2 and Slot3.
I added a variable and old saves load it as zero. That’s expected: old save files don’t have the new value. Give it a sensible default.
Can players edit the save file? Yes, if they really try. Don’t rely on it for anything that needs to be secure, like online rewards.