Skip SGF navigation

Practical guide

Save and restore progress

Choose one thing to remember, give it a stable identity and check it after reloading.

SGF 1.0.1 · Unreal Engine 5.8 · Reviewed

When you finish

A changed actor returns with the saved state after you leave and reopen the map.

On this page

StormSave gives your game a place to store and restore state. Start with one actor and one fact, such as whether a door has been opened.

Choose an actor and its saved state

  1. Give the placed actor a persistent save identity. Check that the identity stays with the same actor between sessions and that copies have their own identities.
  2. Make the actor participate in saving and tell your project what to capture and restore. Start with the one fact you can easily see in the level.
  3. Connect your game’s save and load actions to a test slot. Open the door, save, exit the level and load the slot again. Check the restored door state in the map.

Test what should happen to missing actors

Decide which runtime-spawned actors should return, and what to record when an actor is deliberately destroyed. SGF distinguishes a recorded destruction from an actor temporarily unloading with a streamed level. If your game uses streaming, repeat the test while the level streams out and back. Try an empty slot and keep a test save from the previous version when you change your save data.