Optimize Your Unity App with Ruff Binary Serializer
A lightweight and efficient serializer for Unity that reduces crash/anr rates, startup time, and data size, making it ideal for storing data in PlayerPrefs.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $69.99
- Category:
- Tools › Utilities
- Developer:
- z-dev
- Price:
- $69.99
- Rating:
- Favorites:
- 29
- Supported Unity Versions:
- 2022.3.41 or higher
- Current Version:
- 1.1.0
- Download Size:
- 168.45 KB
- Last Update:
- May 3, 2025
- Description:
- The Ruff Binary Serializer is designed to optimize your Unity app's performance by replacing the built-in JSON serializer. It achieves this by reducing the amount of data in JSON, which can lead to technical issues, increased crash/anr rates, and longer startup times.
The serializer is easy to use, requiring only a single line of code: Ruff.Save(path, object). No advanced markup is needed, making it simple to integrate into your project.
Example improvements include:
* Minimal read/write time, up to x50
* Less data size, up to x30
* Less memory allocation, in cases x100
The serializer is also designed for further improvements, and its usage rules are the same as JSON, making it easy to replace the built-in serializer. - Technical Details:
- The Ruff Binary Serializer is compatible with any Unity version and comes with source code provided. It can convert any custom type and combinations, including arrays, lists, dictionaries, integers, unsigned integers, strings, booleans, floats, and bytes.
For code-generated optimizations, simply add the [Ruff] attribute to the root type. Empty strings are decoded as null, and defaults are set to LE, LEB128, and UTF-8.
For more information on specifications, please refer to the documentation. - Continue »