Start here when you know the symptom, but not which HAF subsystem owns it. This page is a router: it points to the maintained diagnosis and fix instead of copying detailed recipes that would drift from their source.
Before changing a bake or registry field, check these surfaces in order:
| Evidence | What it tells you |
|---|---|
| Unity Console immediately after Save/Bake | Whether authoring succeeded, which helper/path was used, and the first actionable failure. |
Ship Status (Tools ▸ HAF ▸ Ship Status) |
Whether the baked assets or registry are newer than the bundle the game is actually loading. |
| F8 → Smoke Test in-game | Whether HAF loaded, its hooks resolved, the registry parsed, assets registered, and live pawns/districts use them. |
BepInEx/config/haf_load_report.txt |
Which packs loaded, their order, skipped dependencies, conflicts, declared overrides, and model counts. |
BepInEx/LogOutput.log |
The detailed runtime failure and the model, pawn, hook, or asset it belongs to. |
BepInEx/config/haf_bindings_report.txt |
Whether a Humankind update renamed a reflected type/member that HAF needs. |
The most common wasted cycle is editing the model when the game is still loading an old bundle. Check Ship Status before changing geometry.
| Symptom | Go to |
|---|---|
Mod Editor stops at Application Version with There is an error in XML document (2, 10) |
Repair the Mod Editor version.xml. A project path in the numeric Build field is the known cause; do not upgrade Unity to compensate. |
Package Manager shows HAF, but Tools ▸ HAF is missing or Unity reports compile errors |
Installation → What a correct install looks like, then Updating the tools. |
A parity run (bash tools/blender_parity.sh, the Bake Tests row Do the C# ports still match Blender?) says [SKIP] ... drill with no usable Blender record ... STALE |
Someone set HAF_ORACLE=replay: the parity drills were asked to replay a record of Blender instead of running it. Unset it (the parity mode’s default is live, Blender runs) or refresh the record with bash tools/refresh_blender_oracle.sh. The push gate runs no parity drill since 2026-10-30, so a push never says this. See Testing. |
A push says [SKIP] parity stamp with parity stamp STALE (or no parity stamp) and names files |
A Blender script, a ported editor/*.cs or a drill fixture changed since the last parity PASS, so the claim that the C# ports still match Blender is untested. Run bash tools/blender_parity.sh (or the Bake Tests row Do the C# ports still match Blender?), commit the tools/parity-stamp.txt it writes beside the change, and push again. HAF_ALLOW_SKIP=1 git push pushes without the claim, meaning it. See Testing. |
A Fuse, C# Vehicle Lab probe or reduce is slower than it was, or the Lab’s Console line says kernels managed (hafkernels.dll answered version N, expected M) |
Restart Unity after a native DLL update, including an update that keeps the ABI version: the editor can retain either an incompatible DLL (managed fallback) or an older compatible native implementation. A C# Vehicle Lab probe in the same session logs the backend and fallback reason. A missing DLL, unsupported host or HAF_NATIVE_KERNELS=0 needs the corresponding package, Windows x86_64 host or launch-setting correction; a restart alone does not fix those causes. Workshop Probe stays managed. See Editor-Tools and Building → Native kernels. |
| The Model Fuser or Cutter says Probe failed: … | The Console holds the exception with its stack trace (since 2026-10); keep the first one. Specified cast is not valid from a ConditionalWeakTable was a Unity-Mono failure fixed by PR #208 on 2026-10-27. Update to a revision containing that fix, then restart Unity; follow Updating the tools, and advance the tag/revision if the package is pinned. |
The game crashes while a save loads and Player.log repeats [Buffers] drop watch: Specified cast is not valid before Crash!!! |
The plugin built before 2026-11-05 kept its drop-watch records in a ConditionalWeakTable, which Unity’s Mono empties under the running game (the same cast failure the editor’s probes had in 2026-10). Deploy the current plugin (dotnet build HumankindAssetFramework.csproj -c Release, then bash tools/deploy-plugin.sh); the F8 overlay shows the build date. |
| HAF cannot find Blender or a conversion helper | Installation → Blender helpers and Factory settings. Packaged scripts live under Tools~; only blender.exe is external. |
| Bake fails, produces zero vertices, or reports an import/conversion error | Factory Manual → Troubleshooting. Keep the first Console error; later Unity errors are often consequences. |
| A model is invisible, see-through, microscopic, enormous, grey, or oriented incorrectly | Factory Manual → Troubleshooting owns the symptom table and corrective bake fields. |
| Vehicle Lab animation works, but the baked vehicle is flat, all black, or has scrambled material regions | Textures → Failure catalog. Use Auto/Multi and make a control bake with Reduce to ~tris = 0 before editing textures. |
| The preview or registry changed, but the game did not | Use the change-to-action matrix: baked assets need a mod build; saved runtime settings need a game relaunch. Then use Ship Status → The trap it closes for the Bake → Build boundary. |
Use Textures → Failure catalog for pale/washed output, white parts, silver or collaged panels, blurry atlases, missing skins, non-[0,1] UVs, poisoned previews, and magenta UI images. That page also distinguishes a baked atlas problem from a runtime PNG re-skin problem.
Treat the three preview surfaces differently: Vehicle Lab checks rigging (Checker overrides materials), the post-Bake Factory preview checks atlas mapping but uses editor lighting, and the game is authoritative for final appearance.
If the model is otherwise correct, do not change skeleton or scale fields to fix a texture symptom.
| Symptom | Go to |
|---|---|
| Model is rigid, rests in the wrong pose, pauses each loop, wobbles, or parts fly apart | Animation Pitfalls → Symptom index. |
| Converted rigid-part vehicle has crossed legs, wrong pivots, or no authored wheel/turret motion | Factory Manual → conversion troubleshooting map. |
| A few track links of a big deploy-converted vehicle stand still while the rest crawl past them, or hang off the track one link behind their place and swing at the wheels (a rig over the bone wall, baked before 2026-11-09) | Two fixes on 2026-11-09 (the merged links’ vertex group named no bone; then the bone budget merged a link’s pin onto the previous link instead of its own pad): re-bake the entry; the deploy conversion runs again (about two minutes for the T-62). Background: Animated Models → bone budget. |
| Borrowed donor clip plays at the wrong height/axis, freezes, or moves the wrong bones | Donor Clip Flight → Failure catalog. |
| The first pawn uses the donor/wrong skeleton or animation works only after a reload | Animated Runtime → wrong-skeleton net. |
Animation failures are usually contract failures, not random import failures: clip selection, bind pose, unit scale, bone order, or the default rotation-only bake. Follow the linked catalog before adding runtime compensation.
Open haf_load_report.txt first, then use Multi-Mod → The load report.
| Report line / symptom | Meaning |
|---|---|
| Pack absent | Wrong haf_packs location/name, unreadable JSON, or the game is using another install. |
SKIPPED dependency |
A required modId did not load; fix the dependency or its identity first. |
Duplicate modId |
Two packs claim one identity; the later pack is rejected. |
| Undeclared conflict | Two packs target one pawnDescription; first-loaded wins until an override is declared. |
| New field appears ignored | Compare the pack’s schemaVersion with the implemented version printed in the report; update HAF if the pack is newer. |
Do not debug a skipped pack’s model assets: none of its entries reached registration.
| Symptom | Owner |
|---|---|
| Formation count/layout is unchanged, duplicated, or capped | Formations → Troubleshooting. |
| District model or texture never appears | District Visuals for the isolate path; District Dedicated Visual for scoped/strategic footprints. Run the F8 Smoke Test because it reads both district ledgers. |
| Unit/creature WAV does not play | Factory Manual → Unit sounds and custom sound files. |
| A game-wide Wwise override does not apply | Game Sound Lab; audition the exact event name from F8 before authoring the override. |
| A technology in the Tech Requires All list still unlocks on one prerequisite | Search BepInEx/LogOutput.log for [TechAll]. Three hooked DepartmentOfScience… lines at launch mean the patches attached; N technologies need ALL prerequisites means the list was read (it is read once, at the first research update: relaunch after a Save). No count line: the file is missing from BepInEx/config, or [Technologies] TechRequireAll is false. is not used: names a broken file; listed name(s) are not technologies in this game and fewer than two prerequisites name entries with no effect. A technology already in the research queue when the list was added keeps its place. No mark on the tech screen for a technology that does lock: a fourth line, hooked TechnologyItem.RefreshTooltips, means the display hook attached; the tech screen's mark is off names what a game update changed (the rule itself is not affected); [Technologies] TechRequireAllMark may be empty. See Editor Tools → Tech Requires All. |
| Frame time grows or the game stutters | Performance → When a number grows; diagnose the named F8 bucket rather than estimating from code. |
| The console says “… using Blender because …” | Expected for a case the tool names: the probe, Generate, the model prep and the deploy conversion each name what they hand to Blender, for example a skinned or animated .fbx, the source-skeleton fast path, or a placement on bone-hung meshes (the rig route says “using Blender’s FBX route because …”; a .blend/.obj probe uses Blender without a line). If the reason reads “the C# … failed (…)” or “CRASHED”, that is a bug: report it with the model. See Capabilities → What runs without Blender. |
| The push gate takes far longer than its usual ~14 minutes, its regression step alone minutes | Time bash.exe -c : against sh.exe -c : from PowerShell; if bash is ~10x slower, reboot (a stuck per-file state on Git\usr\bin\bash.exe, seen 2026-11-08). See Building. |
| Several unrelated features break after a Humankind update | Testing → Headless binding drift check, then inspect haf_bindings_report.txt. |
When reporting a problem, include:
LogOutput.log error, with its preceding HAF line.haf_load_report.txt pack block.haf_bindings_report.txt.modId, model resource name, target pawnDescription, and whether the entry is static or animated.That packet distinguishes authoring, packaging, load resolution, engine binding, and live injection without asking someone to reproduce the entire project.