View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2022.3.9 or later
- Package size
- 467 KB
- Files
- 30
- Favorites
- 1
- Views in the past week
- 4
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $7.15 on
Keywords
Recursive Serializer - Save & Load Easily!
Recursive Serializer is a unique serializer meant to be a more complete serializer over JSON or XML. Recursive Serializer allows for recursive serialization, meaning all references are synced/saved.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
Recursive Serializer - Save & Load Easily! screenshot 1
About this asset
Features
-Serialization / Deserialization to string or file
- Most Generic Classes
- Most Structs
- Lists<T>
- Dictionaries<TKey,TValue>
- Queues<T>
- Stacks<T>
- HashSets<T>
- Action<T1,T2,..,T16>
- event Action<T1,T2,..,T16>
- Viewer scene that allows you to visualize your saved data.
- Encryption/Decryption
- Compression & Decompression
Recursive Serializer is a unique serializer that is a complete and improved serializer over BYTE / JSON or XML serialization. Recursive Serializer allows for recursive serialization, meaning all references are synced and saved.
For example, you can have your game run on a base "Game State" class that represents your game when you save all fields/properties/events are saved. This includes references to your other classes, your unit classes, weapon classes, AI state machine states, setting classes, and much more are saved as you left it. This allows you to skip the step of abstracting your data to a distinct save file, saving and loading that file then repopulating all the data from that file. Now you can save a game and load right where you left off, no need for an extra step of abstraction.
Outside of a save/load system, the serializer can be used as your normal JSON serializer, but with extra functionality. A great example is to use this to send your small classes over a network by serializing to a string then sending that string over a network and deserializing after on the other end.
Serialization of variables is public only by default but can be changed to private only or both.
Check out our Discord for any help, or questions!
Special Notes: This serializer does not work on Monobehaviours and Unity GameObjects.
From the publisher's Asset Store listing.
Technical details
- Recursive serialization of.
- Most Generic Classes
- Most Structs
- Lists
- Dictionaries
- Queues
- Stacks
- HashSets
- Serialization/Deserialization to string or to file.
- Saving and Loading
- Viewer scene that allows you to visualize your saved data.
- Encryption/Decryption
- Encoding & Decoding
- Compression & Decompression
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.3.9f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.