[Genhis] [1.1.61] Crash when deconstructing: "Error FlatMap.hpp:69: Key not present."

This subforum contains all the issues which we already resolved.
User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

[Genhis] [1.1.61] Crash when deconstructing: "Error FlatMap.hpp:69: Key not present."

Post by Gerkiz »

Hello,

As topic states, the instance crashes with the following error:

Code: Select all

FlatMap.hpp:69: Key not present.
The player that caused this crash was "inside" his tank when this happened.

Steps:
Change your username to: "archmohamed"
Take your "tank" from the inventory
Place it
Go near the tank and press "enter"
Try to delete the roboport or remove any *-provider-chests.
Crash

To bypass this error, delete all logistic robots in the given surface [39].

Attached is also a save file from the following time.
_autosave2.zip
(21.09 MiB) Downloaded 265 times
factorio-current20220713105627_strip.log
(50.95 KiB) Downloaded 262 times
factorio-current20220713101908_strip.log
(675.47 KiB) Downloaded 263 times

/Gerkiz
User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

Re: [1.1.61] Crash when deconstructing: "Error FlatMap.hpp:69: Key not present."

Post by Gerkiz »

Hello,

This is most likely the cause for the crash:
unknown.png
unknown.png (1.24 MiB) Viewed 3258 times



When doing this manually - adding for example the prod-module-2 twice in the request-window without any BPs, you get the correct error message:





The BP:



/Gerkiz
Attachments
AyW0Oo.mp4
(268.05 KiB) Downloaded 155 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14466
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.61] Crash when deconstructing: "Error FlatMap.hpp:69: Key not present."

Post by Rseding91 »

Any idea how you managed to get multiple of the same thing set?
If you want to get ahold of me I'm almost always on Discord.
User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

Re: [1.1.61] Crash when deconstructing: "Error FlatMap.hpp:69: Key not present."

Post by Gerkiz »

Funnily enough I browsed the net for "factorio bp creator online" and found this:
https://teoxoy.github.io/factorio-blueprint-editor/
msedge_2022_07_16_20_04_34.png
msedge_2022_07_16_20_04_34.png (23.67 KiB) Viewed 3220 times

CTRL + C and CTRL + V in game and voilá. You got yourself an impossible request.


/Gerkiz
Genhis
Factorio Staff
Factorio Staff
Posts: 693
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis] [1.1.61] Crash when deconstructing: "Error FlatMap.hpp:69: Key not present."

Post by Genhis »

Thanks for the report. Logistic containers will have their filters deduplicated when created from blueprints in the next release.

To deduplicate existing containers, you could trigger "prototypes changed" mode by holding Ctrl when pressing "Load" on the save file.
Post Reply

Return to “Resolved Problems and Bugs”