FactoryPlanner
FactoryPlanner copied to clipboard
Crash on changing from Belts to Lanes
Problem Description
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::on_gui_switch_state_changed (ID 151) factoryplanner/backend/calculation/solver.lua:181: attempt to index local 'factory' (a nil value) stack traceback: factoryplanner/backend/calculation/solver.lua:181: in function 'update' factoryplanner/ui/dialogs/preferences_dialog.lua:252: in function 'handler' factoryplanner/ui/event_handler.lua:157: in function <factoryplanner/ui/event_handler.lua:114>
Reproduction
- open factory planner
- click preferences
- under "preferred belt" switch from belts to Lanes
I've run into this same error, even on a new save with no other mods enabled. Error message:
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::on_gui_switch_state_changed (ID 151)
__factoryplanner__/backend/calculation/solver.lua:181: attempt to index local 'factory' (a nil value)
stack traceback:
__factoryplanner__/backend/calculation/solver.lua:181: in function 'update'
__factoryplanner__/ui/dialogs/preferences_dialog.lua:252: in function 'handler'
__factoryplanner__/ui/event_handler.lua:157: in function <__factoryplanner__/ui/event_handler.lua:114>
Factory Planner (1.1.79) - Factorio 1.1.110
Iv just had this happend to me,
Iv noticed this ONLY happens when there are no planned factory. ^ as soon as i make one this stops happning.