#001
SHIPPED
WEBXR / UNITY / NODE.JS
Patching seven builds without rebuilding one
- QUESTION
- Can seven compiled Unity WebGL builds be fixed safely without rebuilding any of them?
- EXPERIMENT
- A Node.js script that patches the minified framework inside each brotli archive — guarded by exact-match counts, a syntax gate, backups and a read-back comparison.
- RESULT
- All seven builds patched idempotently; re-running reports “already patched”. Originals kept as backups.
- LEARNING
- When you can’t rebuild, make the patch prove itself before you trust it.
▸ TRY IT
- 0mspage loads; navigator.xr missing → fetch webxr-polyfill
- 900msUnity boots first → _InitXRSharedArray()
- 901msModule.WebXR.onUnityLoaded is not a function ✗
- 901msboot halts — no error on screen, just a gallery that never starts
- 1400mspolyfill arrives… nothing left to notify
RESULT · STALLED