Skip to content

Crash when choosing fluid recipe #746

@BloodStainedCrow

Description

@BloodStainedCrow

Problem Description

Trying to use FactoryPlanner with Ultracube I had an issue with crashes related to steam recipes.

My mods are

Base mod 2.0.76
Elevated Rails 2.0.76
AAI Loaders 0.2.11
Factorio Library 0.16.5
Factory Planner 2.0.50
Krastorio 2 Assets (Ultracube) 2.0.0
Ultracube: Age of Cube 0.7.0

My save:

CUBE.zip

Here is the crash-log:

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

Error while running event factoryplanner::on_gui_click (ID 1)
__factoryplanner__/backend/data/Fuel.lua:31: attempt to index local 'proto' (a nil value)
stack traceback:
	__factoryplanner__/backend/data/Fuel.lua:31: in function 'init'
	__factoryplanner__/backend/data/Machine.lua:70: in function 'normalize_fuel'
	__factoryplanner__/backend/data/Line.lua:95: in function 'change_machine_to_proto'
	__factoryplanner__/backend/data/Line.lua:144: in function 'change_machine_to_default'
	__factoryplanner__/ui/dialogs/recipe_dialog.lua:92: in function 'attempt_adding_line'
	__factoryplanner__/ui/dialogs/recipe_dialog.lua:371: in function 'handler'
	__factoryplanner__/ui/event_handler.lua:173: in function <__factoryplanner__/ui/event_handler.lua:121>

Reproduction

I added a recipe with steam as an ingredient:

Image

When choosing the temperature/recipe:

Image

I chose the boiler recipe at the bottom:

Image

And the mod caused a fatal error:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions