SaveGuard – Save System with Update Safety & Cloud Sync


SEE EVERY SAVE, GO BACK IN TIME ... CLOUD SYNC THAT NEVER LOSES A SAVE ... CRASH-PROOF FILES ... One-line API: SaveManager.Set("coins", 120) / SaveManager.Get("coins", 0)


by Domus Proxima


Price History +

Saves that survive crashes, game updates and new phones: whole-scene saving without code, update checks that old saves still load, save history, debug panel, cloud sync.
  • Unity 6.3 LTS or newer
  • Platforms: Android, iOS, Windows, macOS (WebGL via PlayerPrefs storage, not verified)
  • Any render pipeline (no rendering code); version 2.0 tested with Built-in
  • Storage: files, PlayerPrefs, memory, or your own ISaveStorage
  • Serializer: Unity JsonUtility, replaceable via ISaveSerializer
  • Cloud: Unity Cloud Save (needs com.unity.services.cloudsave and a Unity Gaming Services project, free tier available) or your own ICloudSaveProvider
  • AES-256 + HMAC-SHA256 encryption, GZip compression
  • Full C# source code, no DLLs
  • No third-party dependencies
  • 110 automated tests, Playground demo, PDF and HTML documentation

Your players should never lose their progress: not after a crash, not after your next update, not when they change phone.

Most save systems help you write data. SaveGuard also protects it for the whole life of your game.

UPDATE SAFETY: NEVER SHIP AN UPDATE THAT BREAKS OLD SAVES • Keep a snapshot of a save from each released version • One click loads them with your current code and migrations and reads every value back • Finds the silent problems: renamed fields, changed types, deleted classes, failing migrations • "Create Migration" writes the C# fix for you (renames filled in automatically) • Blocks the build while a snapshot fails, and runs on your CI from the command line

WHOLE SCENES, NO SAVE CODE • Add a Saveable Entity, mark fields with [Save]: done • Objects spawned during play come back on load; objects destroyed during play stay destroyed • References between objects, Transform, Rigidbody, Rigidbody 2D and Animator savers • Automatic: captured on save, restored when a scene or slot loads

SEE EVERY SAVE, GO BACK IN TIME • Save Browser: values, history, what changed between versions, restore any version • In-game Debug Panel for testers: browse, edit, restore, copy a save for a bug report (turned off in release builds by default)

CLOUD SYNC THAT NEVER LOSES A SAVE • Unity Cloud Save integration included (one component, package installs from the settings) • Offline-first: saves always go to the device first and upload when the connection is back • Conflict handling: newest, most progress, ask the player, device or cloud; the other version is always kept • Any other service with a 5-method provider; a simulated cloud for testing without an account

CRASH-PROOF FILES • Atomic writes, byte-by-byte verification, rotating backups, SHA-256 checksums • Automatic recovery from corrupted, truncated or half-written files

EVERYTHING ELSE YOU EXPECT • One-line API: SaveManager.Set("coins", 120) / SaveManager.Get("coins", 0) • Slots with metadata for load menus, global slot, autosave on pause (mobile), background writes • Optional AES-256 encryption with tamper detection, GZip compression • Data versioning with migrations ([SaveMigration] methods found automatically)

TRY IT IN ONE MINUTE The Playground demo is a small playable level: collect coins, open chests, break barrels, push crates, save, damage the save file and watch it recover, undo a save, then switch between two simulated phones, play offline and resolve a conflict.

PRODUCTION QUALITY • Full C# source, namespaces, Assembly Definitions, XML documentation • 110 EditMode and PlayMode tests included • Documentation with a 5-minute guide (PDF and HTML) • No required packages, no DLLs

AI disclosure: the code and documentation of this package were developed with the help of AI tools. The demo uses only Unity's built-in shapes; no AI-generated images, audio or 3D models are included.