ClaudeMetz / FactoryPlanner

A mod for Factorio. Allows you to plan out your production in detail.
https://mods.factorio.com/mod/factoryplanner
MIT License
81 stars 40 forks source link

Non-Recoverable Error On Toggle Belt/Lane Switch #274

Open iceblade92 opened 3 months ago

iceblade92 commented 3 months ago

Problem Description

i got a tone of mods so no cule if its my fault but what happend was i opend the planer for the first time and saw a setting for prefferances to look around a bit and found the switch that sais belt and lanes so i fought i would click it to see what it is but this is the moment i got the crash.

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

1.have lots of mods 2.open factory planer 3.open prefferances 4.click belt/lane toggle