[2.1.19] Crash changing tank equipment "ItemStackOrID.hpp:13: this->id was not true"
[2.1.19] Crash changing tank equipment "ItemStackOrID.hpp:13: this->id was not true"
The game crashed while moving a solar panel in the tank setup to a new spot.
- Attachments
-
- factorio-dump-current.dmp
- (816.34 KiB) Downloaded 16 times
-
- factorio-current.log
- (15.55 KiB) Downloaded 23 times
Re: [2.1.19] Crash while re-arranging tank setup
Hello, welcome to the forum,Jiriakel wrote: Sat Sep 19, 2026 2:16 pm The game crashed while moving a solar panel in the tank setup to a new spot.
Thank you for the report,
Are you able to reproduce the crash?
Could you attach a save game before it happens and steps you take to make it happen?
Re: [2.1.19] Crash while re-arranging tank setup
Hi !
I attached my savefile. I can reproduce it somewhat consistently by doing the following steps :
1. My character is inside the tank (not sure if this is relevant), close enough to a roboport for logistic bots.
2. In map view, I open the tank's inventory (the one where you can equip various things such as shields, personnal roboports...)
3. I copy a solar panel under my mouse in the inventory with A (pipette keybinding) and start placing/deleting solar panels
At some point the game will crash - I can't pinpoint exactly what's different between the placement/deletion iteration where it crashes vs the previous ones however.
I attached my savefile. I can reproduce it somewhat consistently by doing the following steps :
1. My character is inside the tank (not sure if this is relevant), close enough to a roboport for logistic bots.
2. In map view, I open the tank's inventory (the one where you can equip various things such as shields, personnal roboports...)
3. I copy a solar panel under my mouse in the inventory with A (pipette keybinding) and start placing/deleting solar panels
At some point the game will crash - I can't pinpoint exactly what's different between the placement/deletion iteration where it crashes vs the previous ones however.
- Attachments
-
- _autosave3.zip
- (12.93 MiB) Downloaded 15 times
Re: [2.1.19] Crash changing tank equipment "ItemStackOrID.hpp:13: this->id was not true"
Thanks for the report and reproduction steps. I was able to reproduce the issue and observe that the problem happens when its a construction robot sent from tank's personal roboport that trigger the issue. Looks like when construction robot repositions one of the equipment, it returns to a tank with empty cargo but this empty cargo is attempted to be delivered to a tank causing a crash because cargo inserted is attempted to be put into fuel slot and this code was not prepared to see an empty stack being inserted.
Issue is now fixed for 2.1.20.
Issue is now fixed for 2.1.20.

