Takasuki Save System: documentation
A reliable save and load system for Unreal Engine. Slots, autosave, thumbnails, saved actors, saved variables, versioning, and protection against damaged save files. Works with Blueprint and C++.
Tested on: Unreal Engine 5.4, 5.6 and 5.8 (Windows, editor and packaged builds compile; the automated tests below pass on each version).



1. Install
- Copy the
TakasukiSavefolder into your project'sPluginsfolder (create it if needed). - Open the project. Enable Takasuki Save System in Edit > Plugins if it is not already on, then restart the editor.
- Settings are in Project Settings > Plugins > Takasuki Save System.
C++ projects: add "TakasukiSave" to PublicDependencyModuleNames in your Build.cs.
2. Quick start (Blueprint, 5 minutes)
Save a variable-based game (gold, quest flags, settings...)
- In any Blueprint, call Get Takasuki Save System (or Get Game Instance Subsystem, class
Takasuki Save Subsystem). - Use Set Int / Set Bool / Set Float / Set String / Set Vector with a key of your choice:
Set Int ("gold", 120). - Call Save Game (Async) with a slot name (for example
Slot1). Use the Completed and Failed pins. - To restore, call Load Game (Async) with the same slot name. Then read values with Get Int ("gold", default 0).
Save actors (position, health, inventory, doors, pickups...)
- Open the actor's Blueprint. Add the Saveable component.
- Select a variable you want to keep and tick SaveGame (Details > Advanced).
- That's all. Placed actors are matched by an ID created in the editor. Actors spawned while playing are recreated when you load.
Build a "Load Game" menu
- Call Get All Slots. It returns a list with slot name, display name, date, play time, level and version. It only reads the file headers, so it is fast.
- For each slot, show the picture with Get Slot Thumbnail (a texture), the name, the date and Format Play Time.
- Buttons: Load Game, Delete Slot, Rename Slot, Copy Slot.
3. What is saved
| Data | How |
|---|---|
Variables with keys (gold, quest_3_done...) |
Set ... / Get ... functions, saved with every slot |
| Actor transform | Saveable component, on by default |
| Actor variables marked SaveGame | Saveable component |
| Variables marked SaveGame on the actor's other components | Saveable component |
| Physics velocity of the root component | Saveable component, on by default |
| Actors destroyed during play (doors, pickups) | Stay destroyed after loading |
| Actors spawned during play (dropped items, enemies) | Respawned with their saved state |
| Level name, play time, date, screenshot | Automatic |
Not saved: anything not marked SaveGame; animation state; Niagara/sound playback; widgets; data of sublevels that are not loaded when you save.
Actors the game spawns by itself (the player)
A player character is created by the game mode, not placed in the level. Give its Saveable component a Stable Name (for example Player). It is then matched by that name on load instead of being treated as a new actor.
4. Slots, quick save, autosave
- Save Game (Async): write a slot. Needs a name of 1 to 64 letters, digits, spaces,
_or-. - Quick Save / Quick Load: uses the slot name from the settings (
QuickSave). - Autosave: set Autosave Interval Seconds in the settings (0 = off). Autosaves rotate over Autosave Slot Count slots (
AutoSave_1,AutoSave_2...). The oldest is reused. You can also call Auto Save yourself, for example when entering a new area. - New Game: clears saved variables and remembered actors. Call it when the player starts a new game.
Saving does not freeze the game. The data is gathered in one frame, then compressed and written in the background. Listen to On Save Finished / On Load Finished, or use the async nodes.
What happens when you load
The saved level is opened again (so every actor starts clean), then saved values are applied. On Load Finished fires once everything is restored.
5. Protection against damaged saves
Save files are written in a safe order:
- The new data is written to a temporary file.
- The temporary file is read back and checked.
- Only then the old save becomes the backup, and the new one takes its place.
If a save is damaged anyway (power cut, disk error), the plugin detects it with a checksum and loads the backup instead. The result is Recovered From Backup so you can tell the player. Backup Count (settings, 0 to 5) sets how many older versions are kept.
Result codes: Success, NotFound, Corrupted, RecoveredFromBackup, WriteFailed, InvalidSlotName, Busy, UnsupportedVersion.
6. Update your game without breaking old saves
Set Game Version in the settings. Raise it when your data changes. When a save made with another version is loaded, On Migration Needed fires with the saved and current versions before data is applied. Use Set ... and Get ... there to fix old values, for example rename a variable or add a default.
Adding new SaveGame variables is always safe: missing values keep their default.
7. Settings
| Setting | Meaning |
|---|---|
| Sub Directory | Folder inside the project's Saved directory (default TakasukiSave) |
| Backup Count | Older versions kept per slot (default 1) |
| Game Version | Your own data version number |
| Autosave Interval Seconds | 0 turns autosave off |
| Autosave Slot Count / Prefix | How many rotating autosaves, and their name |
| Quick Save Slot Name | Slot used by Quick Save / Quick Load |
| Capture Thumbnails, Width, Height, Quality | Screenshot stored with every slot (JPEG) |
| Verbose Logging | Extra messages in the Output Log |
Save files are in <Project>/Saved/TakasukiSave/*.tksave while developing, and in the user's local app data folder for the game in a packaged build.
8. C++
#include "TakasukiSaveSubsystem.h"
#include "TakasukiSaveableComponent.h"
UTakasukiSaveSubsystem* Save = UTakasukiSaveSubsystem::Get(this);
Save->SetInt(TEXT("gold"), 120);
Save->OnSaveFinished.AddDynamic(this, &AMyActor::HandleSaved); // (Slot, bSuccess, Result)
Save->SaveGame(TEXT("Slot1"), TEXT("Before the boss"), true);
Mark properties to keep with UPROPERTY(SaveGame) and add a UTakasukiSaveableComponent. Implement the ITakasukiSaveable interface (OnBeforeSave, OnAfterLoad) to refresh visuals after loading.
9. Good to know (limits)
- Saves are local files. There is no cloud save and no encryption. Do not store secrets in them.
- Save and load work for one player on the machine that runs the game (single player, or the host of a listen server). Replicating saves between clients is not included.
- Actors that spawn themselves when a level starts and carry a Saveable component are treated as spawned during play: on load they are replaced by the saved ones. Give such actors a Stable Name, or place them in the level.
- References to other actors in SaveGame variables are stored by name and found again if that actor exists after loading.
- Thumbnails need rendering, so they are skipped in
-nullrhior dedicated-server runs. - Levels streamed in and out: actors of a sublevel are restored when that sublevel is loaded while you load the game. Actors in sublevels that are not loaded keep their previously remembered state.
10. Troubleshooting
| Problem | Fix |
|---|---|
| Nothing is restored on actors | Check the actor has a Saveable component and the variable has SaveGame ticked. |
| Placed actor restored on the wrong object | Do not duplicate actors by copying the Saveable component by hand. Copy the whole actor in the editor, each copy gets its own ID. |
| Player is duplicated after loading | Give the player's Saveable component a Stable Name. |
Save Game returns false |
Invalid name, or another save/load is still running. Check Is Busy and the Output Log (LogTakasukiSave). |
| Load does nothing in my test map | The map must be saved as an asset: the plugin opens the saved level by its package name. |
11. Automated tests
The plugin includes automated tests (Tools > Test Automation, filter TakasukiSave): file format, damaged-file recovery, backup rotation, slot name safety, and a full round trip of variables, placed actors, spawned actors, rename, copy and delete. They pass on UE 5.4, 5.6 and 5.8.
Support: https://takasuki.com/contact.html