[boskid][2.0.42] crash when writing deconstruction filters via script
Posted: Sun Mar 23, 2025 11:37 pm
issue:
scripts writing deconstruction planner filter slots may crash the game.
required conditions:
scripts writing deconstruction planner filter slots may crash the game.
required conditions:
- assigning a new table to the entity_filters property of a deconstruction planner. both planner types (items in an inventory and records in a shelf) are affected.
- the new table contains an entry with a missing name property.
- load the supplied crash test save. no mods, just normal space age.
- entering either of these commands into the console will crash the game.
- /c game.player.cursor_stack.entity_filters = table.deepcopy(game.player.cursor_stack.entity_filters)
- /c game.blueprints[1].entity_filters = table.deepcopy(game.blueprints[1].entity_filters)