[2.0.50] Upgrade planner does not insert modules in editor

We are aware of them, but do not have solutions that don't cause other issues. They go here in order not to take space in the main bug thread list.
User avatar
Gergely
Filter Inserter
Filter Inserter
Posts: 631
Joined: Sun Apr 10, 2016 8:31 pm
Contact:

[2.0.50] Upgrade planner does not insert modules in editor

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15676
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Minor issues”