FactoryPlanner
FactoryPlanner copied to clipboard
Crash when playing Ultracube
Problem Description
Playing the Ultracube mod, I was preparing a factory and wanted to select Steam to find out how much Water I needed in total for a plan, when the mod crashed:
The mod Factory Planner (1.1.78) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event factoryplanner::Custom event (ID 232)
__factoryplanner__/backend/data/Machine.lua:62: attempt to index field '?' (a nil value)
stack traceback:
__factoryplanner__/backend/data/Machine.lua:62: in function 'normalize_fuel'
__factoryplanner__/backend/data/Line.lua:100: in function 'change_machine_to_proto'
__factoryplanner__/backend/data/Line.lua:151: in function 'change_machine_to_default'
__factoryplanner__/ui/dialogs/recipe_dialog.lua:94: in function 'attempt_adding_line'
__factoryplanner__/ui/dialogs/recipe_dialog.lua:258: in function 'early_abort'
__factoryplanner__/ui/base/modal_dialog.lua:154: in function 'enter'
__factoryplanner__/ui/event_handler.lua:209: in function <__factoryplanner__/ui/event_handler.lua:189>
[C]: in function 'raise_event'
__factoryplanner__/util/raise.lua:20: in function 'open_dialog'
__factoryplanner__/ui/main/item_boxes.lua:11: in function 'add_recipe'
__factoryplanner__/ui/main/item_boxes.lua:161: in function 'handler'
__factoryplanner__/ui/event_handler.lua:157: in function <__factoryplanner__/ui/event_handler.lua:114>
stack traceback:
[C]: in function 'raise_event'
__factoryplanner__/util/raise.lua:20: in function 'open_dialog'
__factoryplanner__/ui/main/item_boxes.lua:11: in function 'add_recipe'
__factoryplanner__/ui/main/item_boxes.lua:161: in function 'handler'
__factoryplanner__/ui/event_handler.lua:157: in function <__factoryplanner__/ui/event_handler.lua:114>
Reproduction
- With Ultracube mod enabled, start a new game and enter
/editor
mode. - Open tech tree, select the green tech card and insta-research it.
- Create a new Factory Planner, select Basic Matter Unit. Toggle unresearched recipes to select the replicator-based recipe.
- Recipe should show Matter Replication Gel and Steam. Click on the Steam to (try to) add the Water boiler.
- Crash!