View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.0
- Last updated
- First released
- Unity version
- 2022.3.41 or later
- Package size
- 168 KB
- Files
- 67
- Favorites
- 33
- Views in the past week
- 6
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $34.99 on
Keywords
Ruff Binary Serializer
- Price drop
The serializer to optimize Crash/ANR/time by replacing built-in JSON and easy to use
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Ruff Binary Serializer screenshot 1
About this asset
Amount of data in JSON leads to technical issues, increased crash/anr rate, startup time, especially if to store in PlayerPrefs
The serializer is use to use with single line
Ruff.Save(path, object), no advanced markup required
Example improvements
- Minimal read/write time, up to x50: 100ms becomes less than 2ms
- Less data size, up to x30: 3mb file becomes 100kb
- Less memory allocation, in cases x100: 30mb allocation becomes 300 kb
It's even for further improvements
The same usage rules as JSON, easy to replace built-in one
From the publisher's Asset Store listing.
Technical details
It is compatible with any Unity version and source code provided
Serializer converts any custom type and combinations by saving - array, list, dictionary, int, uint, string, bool, float, byte
For the code-generated optimizations just add [Ruff] atribute for the root type
Empty strings are decoded as null. Defaults are LE, LEB128, UTF-8
Specifications: https://ruff-pro.com/doc/ruff-proto.pdf
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.3.41f1 | Compatible | Compatible | Compatible | Compatible |
Compatible with any Unity version
As listed on the Asset Store.