View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.0
- Last updated
- First released
- Unity version
- 6000.4.10 or later
- Package size
- 179 KB
- Files
- 31
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
SaveGuard
AES-256 encryption and HMAC-SHA256 tamper detection for Unity save files and PlayerPrefs, with a drop-in API and one-click key generation.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 5
SaveGuard screenshot 1
About this asset
SaveGuard adds AES-256 encryption and HMAC-SHA256 tamper detection to Unity save files and PlayerPrefs, so players can't open a save file in a text editor and grant themselves extra currency, unlock progress, or edit stats undetected.
The API is a drop-in replacement for common patterns: SecureSaveManager.Save/Load for full save objects, and a SecurePlayerPrefs class that mirrors Unity's own PlayerPrefs for smaller values like settings and high scores. Keys are generated from a single button in a custom Inspector - no manual cryptography setup required.
A Save Inspector editor window lets you view, edit, and re-sign save files directly during development, and a build-time validation check blocks accidental builds shipped without generated keys.
Full C# source is included, with no external dependencies beyond TextMeshPro, which is used only by the optional demo scene UI.
Honest scope: SaveGuard deters casual save-file editing. It is not a substitute for server-authoritative anti-cheat in competitive multiplayer games - no client-side package can fully stop a determined reverse-engineer, since encryption keys ship inside your build.
Full documentation - setup guide, demo scene walkthrough, and script reference - is included in the package as a PDF.
From the publisher's Asset Store listing.
Technical details
Features
- AES-256-CBC encryption for save files and PlayerPrefs values
- HMAC-SHA256 integrity verification with automatic tamper detection
- Drop-in SecureSaveManager.Save/Load API for full save objects
- SecurePlayerPrefs API mirroring Unity's PlayerPrefs
- One-click key generation from a custom Inspector
- Save Inspector editor window for viewing, editing, and re-signing save files
- Automatic build-time check blocking builds without generated keys
- Optional device-binding so a copied save file won't silently load elsewhere
- Full C# source included
Supported OS
- Windows, macOS, Linux (Editor and standalone builds), iOS, Android
- Not currently supported: WebGL (persisting writes requires an additional JS sync step not included in this version) and console platforms (PlayStation, Xbox, Switch generally require their own certified save-data APIs)
Link to documentation
- Full documentation is bundled in the package: Documentation/SaveGuard_Documentation.pdf
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.4.10f1 | Compatible | Compatible | Compatible | Compatible |
SaveGuard contains no shaders, materials, or render-pipeline-specific assets - it's a pure C# save-encryption utility. The included demo scene uses standard Unity UI (Canvas + TextMeshPro), which renders identically under Built-in, URP, HDRP, or any custom render pipeline.
As listed on the Asset Store.