ReaspPro - CoopKit Save: Co-op Save Game

After a missed evening, late join or reconnect, players get their progress back from a server save of the data you mark.

CoopKit Save is for co-op games that a group returns to evening after evening. The host loads the last save. The crates are where the team left them, and the one smashed before the save stays gone. A friend who missed that evening joins mid-game and gets back the coins they had when they last played.

The server captures the data you mark, writes and loads the save, and matches players to their records. Your part is to mark properties and actors, set up a save profile, add save and load controls, replicate what clients see, and rebuild state you do not save. The plugin changes none of your base classes.

It saves the data you mark and where players stood, not your whole game.

Key features

  • World state. Game state and marked actors, also if moved, destroyed or spawned.

  • Every player. Player state, pawn and the place where it stood.

  • You mark the data. SaveGame properties, plus a component or an interface for other actors.

  • Late joins and reconnects. Players get their own records back. Absent players keep theirs.

  • Server-side saves. Listen host, dedicated server or standalone. Clients update by replication.

  • Background disk work. Files are written and read in the background.

  • Slots and autosave. Slot list and limit. Autosave by timer or when a player leaves.

  • Versions and migration. Old saves keep loading. One event converts your older data.

  • Save profile. A data asset with its own editor and validation.

What a save holds

For the game state, players and pawns, the plugin saves the properties you flag as SaveGame. Chests, doors, buildings and other actors are saved only if you mark them too.

On load, saved actors that were spawned during play are spawned again, and newer ones are removed. A placed actor destroyed before the save is destroyed again. Your code can prepare data before a save and rebuild other state after a load.

Whose progress it is

When a player leaves, the server records their progress, and later saves keep it until they return. If they reconnect to the same game, they get what they had when they left.

By default, players are matched by the unique net ID of an online service, such as Steam or EOS. You can use player names instead, or your own key, such as a backend account. All records are in the host's save, not on each player's computer.

Hosting and slots

Only the server can save or load. A client's request to save needs code in your game. Slots use the engine's platform save storage on the server's machine. Your menu can show each slot's map, time and player names.

A save holds only the map being played. By default, loading another map's save first takes the server and players there.

Saves after an update

When an update changes what a value means, your game can convert it as older saves load. A save from a newer version does not load.

Demo maps

  • Demo map, ready to play. Save, move players and three crates, and load with mouse clicks, alone or in two windows.

  • Overview map. Four stands show saved crates, bots' coins, three slots and a bot that rejoins.

Tested

Tested with a server and two clients in one editor process, with 150 ms packet lag and 2% packet loss on every connection, for listen and dedicated servers. The automation tests ship with the plugin.

They cover late joins, reconnects, world saves and loads, and loading older saves.

Limitations

  • Only marked data and player positions are saved, one map per save.

  • A placed actor destroyed after a save does not come back when you load on the same map.

  • References between actors spawned during play are not restored.

  • Struct members are saved only if marked SaveGame too.

  • SaveGame properties that do not replicate change on the server only.

  • Seamless travel does not apply player records on the new map.

  • World capture walks every actor on the game thread. Large worlds need minutes, not seconds, between autosaves.

  • In the editor, the Null online service changes player IDs at each launch. Matching them then needs your own key.

Links

Works well with

Each CoopKit plugin works on its own. Connecting them takes a little work in your project.

Technical Information

Features:

  • World state. Game state and marked actors, also if moved, destroyed or spawned.

  • Every player. Player state, pawn and the place where it stood.

  • You mark the data. SaveGame properties, plus a component or an interface for other actors.

  • Late joins and reconnects. Players get their own records back. Absent players keep theirs.

  • Server-side saves. Listen host, dedicated server or standalone. Clients update by replication.

  • Background disk work. Files are written and read in the background.

  • Slots and autosave. Slot list and limit. Autosave by timer or when a player leaves.

  • Versions and migration. Old saves keep loading. One event converts your older data.

  • Save profile. A data asset with its own editor and validation.

Code Modules:

  • CoopKitSave (Runtime)

  • CoopKitSaveEditor (Editor)

  • CoopKitSaveTests (Editor)

Number of Blueprints: 3

Number of C++ Classes: 39

Network Replicated: Yes

Supported Development Platforms: Windows: Yes, Mac: No

Supported Target Build Platforms: Windows

Documentation Link: https://reasp.pro/projects/coopkit/save/ (newest version; Docs/README.md in the plugin matches yours)

Example Project: None. The plugin includes demo maps: L_SaveDemo, L_SaveOverview.

Important/Additional Notes:

  • Plugin version: 1.0.0

  • Unreal Engine versions: 5.4, 5.5, 5.6, 5.7, 5.8

  • Engine plugins required: none

  • Stability checked against: UE 5.4, 5.5, 5.6, 5.7, 5.8

  • Only marked data and player positions are saved, one map per save.

  • A placed actor destroyed after a save does not come back when you load on the same map.

  • References between actors spawned during play are not restored.

  • Struct members are saved only if marked SaveGame too.

  • SaveGame properties that do not replicate change on the server only.

  • Seamless travel does not apply player records on the new map.

  • World capture walks every actor on the game thread. Large worlds need minutes, not seconds, between autosaves.

  • In the editor, the Null online service changes player IDs at each launch. Matching them then needs your own key.

  • Network: listen server, dedicated server and standalone games. The dedicated server is tested in the editor. The plugin also compiles into a packaged dedicated server built on Unreal Engine 5.8 from source, and two clients join it in a smoke test. On other engine versions you compile the Server target yourself.

  • Storage: the engine's SaveGameToSlot platform storage.

  • Blueprint API and C++ API.