Page 1 of 1

[2.0.50] Upgrade planner does not insert modules in editor

Posted: Sun May 18, 2025 9:01 am
by Gergely
Possibly related bug: (671355)
Steps to reproduce
Note: I was in base game WITHOUT any mods or dlc enabled.
  • Open the editor and make sure instant upgrade is enabled.
  • Place a tier 1 assembler and set it's recipe. (I used iron gear wheel.)
  • Apply the provided upgrade planner on the assembler.

(Note that the upgrade planner contains modules for the assembling machine 3.)
Expected
Assembler is instant upgraded to tier 3 assembler and 4 speed module 3s are inserted.
Actual
Assembler is upgraded to tier 3 assembler, no modules are inserted.

Re: [2.0.50] Upgrade planner does not insert modules in editor

Posted: Sun May 18, 2025 11:55 am
by Rseding91
Thanks for the report. Looking into this: due to the way instant upgrading works it's simply not possible for the upgrade planner to also apply modules. When instant upgrading happens the original entity is deleted and the new one put in its place. Then the upgrade logic resumes and sees "the entity is gone, I can't upgrade modules on a deleted entity" and aborts trying to upgrade modules.

I have no solution for this.