Optimize Your Unity App with Ruff Binary Serializer

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.

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.

Optimize Your Unity App with Ruff Binary Serializer - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Optimize Your Unity Project with Shader Control

Optimize Your Unity Project with Shader Control Thumbnail

Optimize Your Unity Projects with Ease

Optimize Your Unity Projects with Ease Thumbnail

Optimize Your Unity Game with DSS - Down Screen Scale

Optimize Your Unity Game with DSS - Down Screen Scale Thumbnail

Optimize Your Unity Game with Ease

Optimize Your Unity Game with Ease Thumbnail

Optimize Your 3D Scenes with Precomputed Culling

Optimize Your 3D Scenes with Precomputed Culling Thumbnail

Advanced Culling System: Optimize Your Unity Project

Advanced Culling System: Optimize Your Unity Project Thumbnail