What problem does it solve?
This Skill provides structured patterns for persisting and restoring Unity game state reliably across sessions, scenes, save slots, and future format changes.
Core Features & Use Cases
- Saveable state architecture: Implement stable ISaveable contracts for components that capture and restore their own data.
- Save management: Coordinate JSON serialization, save slots, autosaves, atomic file writes, metadata, deletion, and scene restoration.
- Persistence guidance: Distinguish gameplay saves from PlayerPrefs settings, support per-scene persistence, prepare for cloud synchronization, and migrate versioned save data.
- Use Case: When building an inventory, health, quest, or destroyed-object system, use these patterns to save its state with stable keys and restore it after loading the appropriate scene.
Quick Start
Use the save-system skill to design and implement a versioned Unity save manager with save slots, autosave support, scene persistence, and ISaveable components for the player inventory and health.