MOFU SaveAndLoad


Async operations on the same slot queue. Synchronous operations reject a busy slot. ... Features Multiple save slots — Organize saves with custom labels, timestamps, schema ... Scope


by MOFU Project


Price History +

Add local save slots to your Unity game with async APIs, optional encryption, screenshot thumbnails, rotating backups, schema migrations, and a key/value store.

Validated configuration

  • Unity 6000.3.10f1
  • Windows Editor and Windows x64 Player using Mono
  • Demo/player validation with the Built-in Render Pipeline
  • 69 EditMode regression tests passed in both the development project and an isolated import

Other Unity versions, IL2CPP/AOT, macOS, Linux, Android, and iOS have not been validated. WebGL, consoles, tvOS, and visionOS are not supported in this release.

Dependencies

  • Core: Unity and .NET APIs; no bundled third-party DLLs
  • Demo: Unity UI 2.0.0 and Input System 1.18.0 tested
  • Demo input: Active Input Handling set to Input System Package (New) or Both
  • Tests: Unity Test Framework 1.6.0 tested; Editor-only
  • The demo has no URP dependency. Samples can be omitted for core-only integration.

Storage and serialization

  • JsonUtility-based serialization using serializable DTO fields
  • Optional GZip compression
  • Optional AES-256-CBC encryption with random IVs and HMAC-SHA-256 authentication
  • Encryption requires a runtime provider supplying persistent 64-byte key material
  • Optional identifier binding additionally requires an identifier provider
  • Metadata, thumbnails, and CSV exports are not encrypted
  • Encryption and identifier binding are disabled by default

Runtime behavior and limitations

  • Call save-system APIs on Unity’s main thread. Async APIs perform file I/O asynchronously; serialization, compression, encryption, and backup preparation remain on the calling thread.
  • Async operations on the same slot queue. Synchronous operations reject a busy slot.
  • Screenshot capture requires Play mode and a rendered Game view.
  • Slot backups cover data, metadata, and thumbnails. QuickSave and CSV are excluded.
  • Multi-file slot saves are not an atomic transaction under power loss or forced termination.
  • Multiple processes and network/cloud-synchronized writers are not coordinated.
  • JsonUtility limitations apply. Properties, standard Dictionary fields, and arbitrary object graphs require an appropriate data model.
  • Schema migrations transform JSON structures; they do not automatically convert encryption keys or storage settings.

Save player progress, organize save slots, and manage changing game data.

MOFU SaveAndLoad is a local save system for Unity. Use structured save slots for player progress, a key/value store for smaller settings, and Editor tools to inspect saved data during development.


Features

  • Multiple save slots — Organize saves with custom labels, timestamps, schema versions, and optional screenshot thumbnails.
  • Synchronous and asynchronous APIs — Save and load through a central manager, with awaitable operations for workflows that depend on completion.
  • Optional encryption and compression — Protect save payloads with authenticated encryption and reduce file size with GZip compression.
  • Rotating backups — Keep previous slot generations and explicitly restore a selected backup, including its metadata and thumbnail.
  • Schema migrations — Define versioned JSON transformations to upgrade older save structures as your game evolves.
  • QuickSave key/value storage — Store settings and small values through a straightforward API.
  • CSV utilities — Import and export tabular data using typed rows or string dictionaries.
  • Serializable data wrappers — Included dictionary, decimal, and BigInteger wrappers extend common JsonUtility workflows.

Included

C# source code, a demo scene, Project Settings integration, a Save Data Inspector, an offline Japanese/English manual, and Editor regression tests.

The core requires no external service, account, or paid SDK. You control when saves occur and how your game handles errors and recovery.


Scope

This package provides local persistence. Cloud synchronization, secure key storage, automatic device/account recovery, and server-side anti-cheat are not included. See Technical details for dependencies and the validated platform scope.