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

Ultracube: Steam #313

Open LoupAndSnoop opened 3 days ago

LoupAndSnoop commented 3 days ago

Problem Description

I was planning out a factory in Ultracube: Age of Cube. I set a recipe for "Basic Matter Unit". Then I clicked on the icon for "Steam" (which is an input), as that should bring up the UI for different recipes to make steam (or otherwise automatically pick the one recipe to make steam). Clicking that icon causes a crash with the following report. Save attached: factorio-current.log factorio-previous.log

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 286) 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/production_handler.lua:245: in function 'handle_item_click' factoryplanner/ui/main/production_handler.lua:423: 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/production_handler.lua:245: in function 'handle_item_click' factoryplanner/ui/main/production_handler.lua:423: in function 'handler' factoryplanner/ui/event_handler.lua:157: in function <factoryplanner/ui/event_handler.lua:114>

Reproduction

  1. Start game in ultracube
  2. Open factory planner
  3. Set recipe target to Matter Replication Gel.
  4. Click on "Steam" input to try to bring up UI for different recipes to make steam.
  5. Crash