Thread-Safe Observable Properties System for Unity

High-performance, GC-friendly reactive state management and property binding library for Unity C# architectures.

Result
Zero-allocation reactive state management
Area
Unity / Packages

Highlights

  • Zero-allocation event dispatch for value types preventing garbage collection spikes
  • Automated unsubscription tied to Unity GameObject destruction preventing memory leaks
  • Custom Unity Inspector drawers for live runtime inspection and state debugging

Overview

An open-source reactive data-binding system for Unity that eliminates expensive polling in Update() loops, cleanly decouples UI from gameplay state, and prevents memory leaks through lifecycle-aware subscriptions.

The challenge

Game development architectures often degrade into tightly coupled systems where UI scripts poll gameplay state every frame inside Update(), wasting CPU cycles and causing fragile dependencies.

Native C# events are prone to memory leaks when event listeners are not manually detached upon GameObject destruction.

What I built

Engineered a generic ObservableProperty<T> system with automated subscription management tied directly to Unity MonoBehaviour lifecycles.

Implemented zero-allocation value comparisons and event dispatching for primitive and struct types to avoid garbage collection spikes.

Developed custom Unity Editor PropertyDrawers for real-time value inspection and live debugging in the inspector.

Outcome

Open-sourced on GitHub with comprehensive test coverage.

Eliminated UI polling overhead across game components, improving frame budget predictability and architectural modularity.

More work

Other projects

All projects →
AI / Tooling

Fruit Ninja Adventure — AI Level Creation Pipeline

70–80% faster level production

Automated Unity level authoring pipeline that reduced level production turnaround from 15 days to 1–5 days through procedural curve balancing and designer tools in C#.

  • Unity
  • C#
  • Editor Scripting
  • Procedural Algorithms
.NET Desktop

WinUI 3 Desktop Launcher & Office Add-in IPC Platform

JSON-RPC 2.0 over named pipes

Centralized WinUI 3 desktop platform orchestrating independent .NET 9 PowerPoint and Excel add-ins via JSON-RPC 2.0 named pipes IPC and FastAPI licensing.

  • .NET 9
  • WinUI 3
  • C#
  • WPF