Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
1/10
Save and load in binary. And in real-time!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
6000.0.23f1 | Compatible | Compatible | Compatible |
2022.3.29f1 | Compatible | Compatible | Compatible |
Description
🩵 Wishlist this asset so it can go on sale!
A replacement for BinaryFormatter to read and write the public fields and properties of class objects/scripts using BinaryReader and BinaryWriter.
Features
- Supports most objects and collection types of any size and mix, such as a List<Dictionary<string, Vector3>>[,,,,,].
- Can use public properties to safely save and load references like sprites, materials, addressables, or other component data.
- Read and write real-time asynchronously or with coroutines.
- Update data in existing GameObjects and ScriptableObjects by reading directly into them.
- Files are compactly formatted in binary (1 and 0 bits), making them smaller than text-based formats like JSON.
- Convert objects to a byte array and use with encryption or network transmission.
- Optionally convert an object into a Base64 string.
- Flip the bits of object data using a byte mask to make it less human-readable.
- Can find and read the first occurrence of a single saved field or property.
Device Security
- Uses Type safety to mitigate type confusion attacks.
- Does not read or write fully qualified assembly names to prevent assembly loading attacks.
- Only creates objects using their default constructor to avoid deserialization attacks.
- Explicitly does not read or write known unsafe types to reduce information disclosure and remote code execution attacks.
File Integrity
- Uses a CRC-32 hash to detect if data is corrupt or changed.
- Writes as a temporary file first to avoid corruption while saving.
- Locks resources in a thread-safe way with SemaphoreSlim and ConcurrentDictionary.
Debug Log
- Messages show read and write data while playing inside Unity Editor.
- Helpful warnings assist with a bug-free development.
- Messages and warnings can be disabled and are not compiled with a final build.
Tutorial for saving in Unity Loady Dungeons:
Technical details
BinaryFileIO : Real-time Save/Load
(not enough ratings)
4 users have favourite this asset
(4)
$39
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
Secure checkout:

License agreement
Standard Unity Asset Store EULALicense type
File size
494.1 KB
Latest version
1.2.0
Latest release date
Jan 13, 2025
Original Unity version
2022.3.29
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Language
Feedback
Partners Program
PartnersUSD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR