Odin Serializer

Enjoying Odin Inspector and Serializer?Leave a review

Odin Serializer is a polymorphic, version-tolerant binary and JSON serializer for .NET that integrates with Unity's ISerializationCallbackReceiver infrastructure. It supports interfaces, abstract base classes, generic types, and circular references — none of which Unity's default YAML serializer handles.

The serializer is also available standalone under the Apache 2.0 license, independent of the commercial inspector.

Enabling the serializer

Serializer options live in Unity's Project Settings. Open Edit → Project Settings → Odin Inspector and Serializer and toggle formatter emission, AOT support, and reference handling per platform.

Marking a type as serialized by Odin

Replace MonoBehaviour with SerializedMonoBehaviour (or ScriptableObject with SerializedScriptableObject) and Odin takes over serialization for any field Unity would otherwise skip.

Last updated