FactoryPlanner icon indicating copy to clipboard operation
FactoryPlanner copied to clipboard

Crash when interacting with module on specific recipe

Open mihaild opened this issue 1 year ago • 0 comments

Problem Description

Crash 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_click (ID 1) factoryplanner/util/clipboar factorio-current.log d.lua:27: attempt to index local 'object' (a nil value) stack traceback: factoryplanner/util/clipboard.lua:27: in function 'copy' factoryplanner/ui/main/production_handler.lua:176: in function 'handler' factoryplanner/ui/event_handler.lua:157: in function <factoryplanner/ui/event_handler.lua:114> crash.log sandbox - se.18.space rail14.zip

Reproduction

  1. Load the save.
  2. Open the factory planner, factory with beryl ingots (second from the end)
  3. On iron plate production, right click on machine, or right click/shift-right click/ctrl-right click on module. Game crashes with error above.

Observation: if before doing this I try to edit anything - reorder recipes, change machine for other step or even for different factory, and after that try to edit recipe for iron plate - it doesn't crash.

mihaild avatar Apr 10 '24 21:04 mihaild