Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Upgrade Planner fails with Loader Utils due to missing item prototypes

说明与用途

升级规划器失败是因为 Loader Utils 创建了没有物品原型的隐藏克隆。修复方法是禁用模组设置中的“Loaders are lane filtered by default”。

问题

The Upgrade Planner cannot upgrade loaders when using Loader Utils because the mod creates hidden script-only entity clones (lf/rl/fs variants) without backing item prototypes, which the vanilla upgrade planner requires to build entities.

结果

The issue stems from Loader Utils replacing loaders with hidden clones that lack item prototypes. Disabling the default lane filtering setting restores the item-backed prototypes, enabling the Upgrade Planner to work.

工作流

  • Install Loader Utils, Deadlock's Beltboxes and Loaders, and Deadlock's Stackboxes.
  • Attempt to upgrade loaders using the vanilla Upgrade Planner.
  • Identify that upgrades fail on loaders but succeed on Beltboxes.
  • Verify that upgrades work when lane filtering is disabled.
  • Investigate the source code to understand the interaction.
  • Disable 'Loaders are lane filtered by default' in mod settings.
  • Re-test upgrades, which now succeed.

证据

Loader Utilities doesn't just watch loaders — it silently replaces them. Every time a loader is built... it calls a replace() function that mines the entity you just placed and spawns a *different* hidden prototype in its place...

来源

The lf-rl-fs variant loader prototypes created in data-final-fixes.lua have no backing item, so the Upgrade Planner can't build them — not even via the next_upgrade chain you set up correctly for them.

来源

Go to Settings → Mod Settings → Per Player and turn off 'Loaders are lane filtered by default.' With all three defaults off, freshly-placed loaders stay as Deadlock's real, item-backed prototypes, and the upgrade planner should work exactly as it does with loader-utils disabled.

来源

  • 记录日期: 2026-09-05T14:14:50.497Z