Phase 2's one-line WB patch (Setup-prefix guard at ObjectMeshManager.cs:1230) fixed the symptom but is structurally a band-aid. CLAUDE.md's no-workarounds rule says we should retire it. The proper fix is switching our EnvCell rendering from the general-purpose PrepareMeshDataAsync entry point (which iterates static-object parts + emitters we don't need + triggers the buggy TryGet<Setup> call) to WB's narrower PrepareEnvCellGeomMeshDataAsync API at ObjectMeshManager.cs:386. That function only builds cell room mesh — which is the only thing we use WB for at the cell level. Static objects are already hydrated separately, particle scripts already run via our own EntityScriptActivator. #87 is the issue tracking that refactor. When it lands the WB fork returns to pristine state (no acdream-specific commits on the acdream branch for this file). Handoff doc updated to flag the patch as a known band-aid pending #87. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| architecture | ||
| audit | ||
| plans | ||
| research | ||
| superpowers | ||
| bugs.md | ||
| ISSUES.md | ||