fix: Rust's December build: no off-mesh links, the field list, the prefab id (#31, #32) #33

Merged
whitlocktech merged 1 commits from fix/staging-drill-32 into edge 2026-11-30 23:16:42 -06:00
Member

What & why

The staging drill failed on Rust staging 27003601 (#31) and 27024215 (#32), and the 2026-12-01 manifest 5114388321883318499 fails the same way: RunicNPC no longer compiles, and the swap's field list differs.

  • No off-mesh links any more (D399). Rust's December build removes off-mesh links from its AI: BaseNavigator.IsOnNavMeshLink and its traversal, the same on NPCPlayer, BaseNpc and the Gen2 RustNavMeshAgent, doors' links, AITraversalArea. The brain's two-second check no longer waits for a link before the reground (D239). Org lead chose deletion over reflection.
  • Field list regenerated (D232): 58 → 51 NPC fields, 32 → 31 brain fields. Seven fields are still there but no longer serialised. timeSinceAiming is gone, and prefabID → serializedPrefabID.
  • The swap sets prefabID after the copy (D398). prefabID is a property over an encrypted value now, filled only by Unity's deserialisation, which an AddComponent never does. This has been live on public since Rust's 11/25 patch, so the same lines also go to main as a hotfix (separate PR), word for word, so this branch's wipe-day cutover merges cleanly.
  • README: the update-surface table and the field counts.

Reaches main with the 2026-12-03 wipe cutover (D332). The issues close then:

Closes #31
Closes #32

How it was tested

  • tools/drill/static.sh on this branch against Rust staging manifest 5114388321883318499 (12/01) with Oxide's staging build: fields same, compile ok. Before the fix: fields differs, compile error CS1061 at line 1567.
  • Compiles against public Rust (manifest 1198055723653111326) + Oxide's public release too.
  • node scripts/checkPlugin.js ok; checkPlugin.test.js 24/24, drill.test.js 10/10, cutover.test.js 52/52.
  • prefab id, live on public Rust 26921919 with a scratch probe: main gave id 0 in 3 of 3 spawns on rust-carbon (Carbon 2.0.267) and on egg-oxide (Oxide 2.0.7925). With the fix, every spawn got the stock scientistnpc_roam id (4199494415). Both rigs were stopped afterwards; the demo rig wasn't touched.
  • Not run: the drill's live half on staging. Oxide's staging build is 280 members behind the newest staging, so an Oxide server can't boot on it yet. The daily drill will pick that up once Oxide catches up, and gate 4 of the cutover runs the live half on public anyway.

Checklist

  • I have read CONTRIBUTING.md.
  • The change builds and existing tests/checks pass locally.
  • I have added or updated tests/docs where it makes sense. (docs: RunicGateway/docs PR, D398/D399 + 9c note)
  • My commits are reasonably scoped with clear messages.

AI-assisted contributions (required)

  • No AI tools were used to produce this contribution.
  • AI tools were used. Tool(s): Claude Code (Claude Opus 5.5). I have reviewed and understand
    every change, and take responsibility for it. AI-authored commits are
    marked with a Co-Authored-By / Assisted-By trailer.

License

  • I agree that my contribution is licensed under this project's license
    (GNU GPL v3.0 or later), and I have the right to contribute it.

🤖 Generated with Claude Code

https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t

## What & why The staging drill failed on Rust staging 27003601 (#31) and 27024215 (#32), and the 2026-12-01 manifest `5114388321883318499` fails the same way: RunicNPC no longer compiles, and the swap's field list differs. - **No off-mesh links any more (D399).** Rust's December build removes off-mesh links from its AI: `BaseNavigator.IsOnNavMeshLink` and its traversal, the same on `NPCPlayer`, `BaseNpc` and the Gen2 `RustNavMeshAgent`, doors' links, `AITraversalArea`. The brain's two-second check no longer waits for a link before the reground (D239). Org lead chose deletion over reflection. - **Field list regenerated (D232):** 58 → 51 NPC fields, 32 → 31 brain fields. Seven fields are still there but no longer serialised. `timeSinceAiming` is gone, and `prefabID` → `serializedPrefabID`. - **The swap sets `prefabID` after the copy (D398).** `prefabID` is a property over an encrypted value now, filled only by Unity's deserialisation, which an `AddComponent` never does. This has been live on **public** since Rust's 11/25 patch, so the same lines also go to `main` as a hotfix (separate PR), word for word, so this branch's wipe-day cutover merges cleanly. - README: the update-surface table and the field counts. Reaches `main` with the 2026-12-03 wipe cutover (D332). The issues close then: Closes #31 Closes #32 ## How it was tested - `tools/drill/static.sh` on this branch against Rust staging manifest `5114388321883318499` (12/01) with Oxide's staging build: **fields `same`, compile `ok`**. Before the fix: fields `differs`, compile error CS1061 at line 1567. - Compiles against public Rust (manifest `1198055723653111326`) + Oxide's public release too. - `node scripts/checkPlugin.js` ok; `checkPlugin.test.js` 24/24, `drill.test.js` 10/10, `cutover.test.js` 52/52. - prefab id, live on public Rust 26921919 with a scratch probe: `main` gave id 0 in 3 of 3 spawns on `rust-carbon` (Carbon 2.0.267) and on `egg-oxide` (Oxide 2.0.7925). With the fix, every spawn got the stock `scientistnpc_roam` id (4199494415). Both rigs were stopped afterwards; the demo rig wasn't touched. - **Not run:** the drill's live half on staging. Oxide's staging build is 280 members behind the newest staging, so an Oxide server can't boot on it yet. The daily drill will pick that up once Oxide catches up, and gate 4 of the cutover runs the live half on public anyway. ## Checklist - [x] I have read [CONTRIBUTING.md](CONTRIBUTING.md). - [x] The change builds and existing tests/checks pass locally. - [x] I have added or updated tests/docs where it makes sense. (docs: RunicGateway/docs PR, D398/D399 + 9c note) - [x] My commits are reasonably scoped with clear messages. ## AI-assisted contributions (required) - [ ] No AI tools were used to produce this contribution. - [x] AI tools were used. Tool(s): `Claude Code (Claude Opus 5.5)`. I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with a `Co-Authored-By` / `Assisted-By` trailer. ## License - [x] I agree that my contribution is licensed under this project's license (**GNU GPL v3.0 or later**), and I have the right to contribute it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t
wtclaude added 1 commit 2026-11-30 23:10:26 -06:00
fix: Rust's December build: no off-mesh links, the field list, the prefab id (#31, #32)
All checks were successful
PR Checks / plugin-checks (pull_request) Successful in 9s
b9b06a62fa
- Rust removed off-mesh links from its AI (BaseNavigator.IsOnNavMeshLink and its
  traversal are gone), so the brain's reground no longer waits for one (D399).
- The swap's field list, regenerated from staging's Assembly-CSharp (D232):
  58 -> 51 NPC fields, 32 -> 31 brain fields. Seven fields are no longer
  serialised, timeSinceAiming is gone, prefabID -> serializedPrefabID.
- The swap sets our NPC's prefabID after the copy (D398): it is a property now,
  filled only by Unity's deserialisation, so an AddComponent never got it and
  every NPC had prefab id 0 (already true on public since Rust's 11/25 patch).
- README: the update surface names prefabID and drops IsOnNavMeshLink; counts.

Closes #31
Closes #32

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t
whitlocktech merged commit cf877dd585 into edge 2026-11-30 23:16:42 -06:00
whitlocktech deleted branch fix/staging-drill-32 2026-11-30 23:16:42 -06:00
Sign in to join this conversation.
No description provided.