A State Machine With a Border Running Through It
Ten phases per step, split across a JavaScript orchestrator and a C# runtime, with three completely different ways of finishing
Aug 13, 202610 min read1
Search for a command to run...
Articles tagged with #unity
Ten phases per step, split across a JavaScript orchestrator and a C# runtime, with three completely different ways of finishing
One Unity WebGL binary serves a lab player and a 3D scene editor. The trick was not unifying them — it was knowing which layer to share and which to leave alone.
Our Unity WebGL build resolves its services through a static locator — the textbook anti-pattern. Here is the derivation that got us there, and why I think the derivation matters more than the answer.
I spent a long stretch building the layer where a Unity WebGL build meets the JavaScript that drives the interface around it. Unity WebGL means Unity compiled to WebAssembly, which is the fact this en