[1.1.110] Crash with fixed_recipe with fluid

Things that has been reported already before.
Post Reply
DoubleThought
Inserter
Inserter
Posts: 40
Joined: Fri Mar 01, 2019 1:14 pm
Contact:

[1.1.110] Crash with fixed_recipe with fluid

Post by DoubleThought »

I was modding the game and screwed up, but it had an unusual crash that the game instructed me to report, so I'm reporting.

I have an assembling-machine that has a fixed_recipe, and the recipe has an output that's a fluid. However, the assembling-machine does not have a fluidbox.

What did I expect to happen:

The game should crash while launching because the assembling machine should not be valid.

What happened:

The game crashed when attempting to render the broken assembling machine.

Instructions to reproduce:

Create a mod that loads after "base" with the following line of code in the data.lua

Code: Select all

data.raw["assembling-machine"]["assembling-machine-1"].fixed_recipe = "empty-water-barrel"
Launch the game with the mod loaded

Notice that the game does not fail to load due to the invalid assembling-machine

Use the /cheat command (twice) and craft an assembling machine 1

Pick up the item in the inventory and notice the game does not crash until after the cursor moves outside the inventory window

Move the cursor outside the inventory window and notice the crash
Attachments
factorio-current.log
(11.99 KiB) Downloaded 10 times

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2326
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.110] Crash with fixed_recipe with fluid

Post by boskid »

Duplicate 105308

Post Reply

Return to “Duplicates”