Game crashes when clicking logistics chests.
They come from a specific blueprint that seems to be corrupted. It doesn't matter whether the logistics chest have been built or are still a ghost. Their item filter is set, and they're connected to a circuit network in read mode. Exporting and re-importing fixes the blueprint.
Happens with SA enabled and disabled. No other mods.
In case it's relevant, various different recipes in my blueprint collection have been unset. For example, I have an Assembler in my starter base set to Grenades. That ASM in the blueprint has no recipe set. And neither do any other ASMs with the Grenade recipe.
1. What did you do?
Load the save, click any of the logistics chests. Can also use the blueprint in the "Game Blueprints" section.
2. What happened?
The game crashed.
3. What did you expect to happen instead?
Open the chest GUI instead of crashing.
4. Does it happen always, once, or sometimes?
100% reproducible
[2.0.41] Crash clicking logistics chest (ItemLogisticGui::buildSections)
[2.0.41] Crash clicking logistics chest (ItemLogisticGui::buildSections)
- Attachments
-
- factorio-current.log
- (10.1 KiB) Downloaded 8 times
-
- crash_01.zip
- (2.24 MiB) Downloaded 8 times
-
- corrupted_blueprint.txt
- (3.79 KiB) Downloaded 7 times
Re: [boskid][2.0.41] crash upon clicking logistics chest (ItemLogisticGui::buildSections)
I see that the storage chest is corrupted, internally it was supposed to contain a single logistic section to be able to store a filter however this logistic section is missing. I was unable to reproduce how such a storage chest without logistic section was created. Moving to pending.
Re: [2.0.41] crash upon clicking logistics chest (ItemLogisticGui::buildSections)
Both the recipe unsetting and the Storage Chest corruption seem to be caused by mods.
I was able to reproduce the issue with these steps:
1. Enable FUN mod and its dependencies.
2. Start a new game
3. open a blueprint that uses a filtered Storage Chest
4. close the blueprint. as far as I'm aware, this saves it regardless of the method to close the GUI window. using the bp was not enough, seems to be in read only mode
5. quit to main menu
6. disable all mods
7. start a new game
8. place that same blueprint
9. click the Storage Chest
modlist:
https://mods.factorio.com/mod/discovery_tree
https://mods.factorio.com/mod/fun_mode
https://mods.factorio.com/mod/Krastorio2Assets
The final hint was that these recipes are unset in my blueprints: Grenades, Processing Units and Beacons. Those items are heavily modified by FUN mod.
FUN mod also switches Passive Provider Chests and Storage Chests. This seems to cause the logistics section to be deleted, resulting in the crash.
I was able to reproduce the issue with these steps:
1. Enable FUN mod and its dependencies.
2. Start a new game
3. open a blueprint that uses a filtered Storage Chest
4. close the blueprint. as far as I'm aware, this saves it regardless of the method to close the GUI window. using the bp was not enough, seems to be in read only mode
5. quit to main menu
6. disable all mods
7. start a new game
8. place that same blueprint
9. click the Storage Chest
modlist:
https://mods.factorio.com/mod/discovery_tree
https://mods.factorio.com/mod/fun_mode
https://mods.factorio.com/mod/Krastorio2Assets
The final hint was that these recipes are unset in my blueprints: Grenades, Processing Units and Beacons. Those items are heavily modified by FUN mod.
FUN mod also switches Passive Provider Chests and Storage Chests. This seems to cause the logistics section to be deleted, resulting in the crash.
Re: [2.0.41] Crash clicking logistics chest (ItemLogisticGui::buildSections)
Thanks for the report. Issue should be now fixed for 2.0.42 and there will be a migration to fix existing corrupted save files.