Page 1 of 1

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

Posted: Wed Jul 13, 2022 11:56 am
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 259 times
factorio-current20220713105627_strip.log
(50.95 KiB) Downloaded 256 times
factorio-current20220713101908_strip.log
(675.47 KiB) Downloaded 260 times

/Gerkiz

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

Posted: Sat Jul 16, 2022 1:54 pm
by Gerkiz
Hello,

This is most likely the cause for the crash:
unknown.png
unknown.png (1.24 MiB) Viewed 3196 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

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

Posted: Sat Jul 16, 2022 4:57 pm
by Rseding91
Any idea how you managed to get multiple of the same thing set?

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

Posted: Sat Jul 16, 2022 6:05 pm
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 3158 times

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


/Gerkiz

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

Posted: Mon Sep 26, 2022 2:27 pm
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.