ClaudeMetz / FactoryPlanner

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

non-recoverable error when attempting to edit machine #412

Closed Acouya closed 1 week ago

Acouya commented 1 week ago

Problem Description

Game kicks me back to main menu when attempting to open the edit menu for any recipe using a biochamber.

The mod Factory Planner (2.0.11) caused a non-recoverable error. Please report this error to the mod author.

Error while running event factoryplanner::Custom event (ID 225) factoryplanner/backend/handlers/defaults.lua:230: attempt to index field 'quality' (a nil value) stack traceback: factoryplanner/backend/handlers/defaults.lua:230: in function 'generate_tooltip' factoryplanner/ui/dialogs/machine_dialog.lua:38: in function 'refresh_defaults_frame' factoryplanner/ui/dialogs/machine_dialog.lua:65: in function 'add_defaults_frame' factoryplanner/ui/dialogs/machine_dialog.lua:277: in function 'dialog_open' factoryplanner/ui/base/modal_dialog.lua:171: in function 'enter' factoryplanner/ui/event_handler.lua:222: in function <factoryplanner/ui/event_handler.lua:202> stack traceback: [C]: in function 'raise_event' factoryplanner/util/raise.lua:19: in function 'open_dialog' factoryplanner/ui/main/production_handler.lua:107: in function 'handler' factoryplanner/ui/base/modal_dialog.lua:354: in function 'handler' factoryplanner/ui/event_handler.lua:169: in function <factoryplanner/ui/event_handler.lua:121>

Reproduction

  1. Enable Space Age, Factory Planner and all requirements
  2. Load Save
  3. Open Factory Planner
  4. Create Factory producing recipe that requires biochamber
  5. right click and edit biochamber
ClaudeMetz commented 1 week ago

Thanks for the report, you're on of the unlucky 50 people that downloaded that release before I pulled it because I noticed it had a few issues, this included 😅 I'll get an update out tomorrow at the latest.