Alkibit Serialization — Runtime GameObject Serializer — SaveLoad System
Alkibit
$11.00
$22.00
50%OFF
(no ratings)
Jump AssetStore
Serialize a GameObject tree to JSON. Load it back with every reference wired up.Alkibit Serialization is a runtime serialization system for Unity GameObject hierarchies. Point it at a GameObject and it writes the whole tree — children, components, field values and the references between them — to readable JSON. Load that JSON and you get the hierarchy back, not a pile of disconnected objects.Use it for save games, deep clones, spawning from saved state, and sending object state across a network.What it handles• Whole hierarchies, or several independent roots as a single payload so cross-references between them survive• References between GameObjects and between components on different objects• Asset references — Materials, Textures, AudioClips, prefab assets — resolved through an asset registry• Arrays and Lists of any of the above• 79 built-in Unity component types, with a reflection fallback so your own components serialize without extra work• Scene object references, stored by path, with an optional rename-proof id componentThree-pass loadingObjects and components are created first (empty and inactive), then every field is populated, then the objects are activated. A reference always has something to resolve to, and your Awake/OnEnable sees restored state instead of defaults. Post-activation state that Unity only accepts on a live object — Rigidbody velocities, Animator playback position — is applied last. Coroutine variants spread the same three passes over several frames so a large load doesn't stall a frame.Compression, optional and losslessKey compression shortens the payload's own field names to roughly 72% of minified size while staying readable JSON. GZip gets to roughly 23%, as bytes or Base64. Loading detects the format automatically, so a reader never has to know which form a file holds.Built for untrusted payloadsLoading a payload from a network or from disk is gated per call: an allowlist for which component types may be instantiated, an allowlist for the methods a restored UnityEvent may bind, and object-count and depth caps that reject an over-budget payload before anything is built. Malformed, truncated or wrong-format input returns null with a warning instead of throwing.ExtensibleRegister custom component serializers (2-3x faster than reflection for types you serialize often), add support for your own value types, plug in custom asset resolvers, or run independent serializer instances with their own registries and filters. Package warnings can be routed into your own logger.Requirements• Unity 6.6 (6000.6) or newer — the payload format relies on built-in Dictionary serialization• com.unity.ugui (provides TextMeshPro; required, not optional)Ships with EditMode and PlayMode test suites and runnable samples. Full API documentation is included in the package.Beta. The payload format is stable and versioned; the C# API may still change between releases.






