Page 1 of 1

[2.0.9] Inserter waits for source items && Foundry output full

Posted: Wed Oct 23, 2024 2:37 pm
by Brambor
I have a foundry casting copper. It is full, but the fast inserter doesn't unload it.
10-24-2024, 01-33-30.png
10-24-2024, 01-33-30.png (1.86 MiB) Viewed 410 times
If I add another inserter to output from that foundry, the first inserter fixes itself

I am attaching two saves, autosave from 10 min ago and now. In both saves, the foundry and the inserter are in the same state, so both probably aren't needed.

Btw. when I send the forum report while the file is loading, it silently doesn't attach, no warning "You wanna wait for the file to upload?", no error afterwards.

Re: [2.0.9] Inserter waits for source items && Foundry output full

Posted: Wed Oct 23, 2024 2:47 pm
by Rseding91
Thanks for the report. I can confirm the inserter is stuck when it shouldn't be, but I have no idea how it would get into that state. Do you know of any way to get it into that state or have any ideas?

Re: [2.0.9] Inserter waits for source items && Foundry output full

Posted: Wed Oct 23, 2024 5:41 pm
by Brambor
I don't know. Maybe something with power being out at the wrong time. Maybe something related to extra production or the only input being fluid.

Re: [2.0.9] Inserter waits for source items && Foundry output full

Posted: Mon Oct 28, 2024 6:49 pm
by elmbald
I also ran into this issue today, where I was setting recipes by circuit condition.
in my example I had connected the foundry to 3 combinators, to produce engines (if ingredient <100: output 1 of that item's signal in each one, red wire in, green wire out). When I ran into the issue, the inserters were unable to pull specifically from the first output slot (currently producing item), and occasionally got stuck where there was an available output to take from in that slot. it seemed that the recipe change would eventually clear this out when that item started to be produced again.

Currently looking at steel, then pipes in the output, where the steel will not be pulled out until there is a recipe change to produce gears.when the steel filled up, the gears weren't able to empty from that first slot either, until recipe changed back to steel and they were no longer in the first slot.


it seems that the foundry eventually unjams after all products have been made, but when clearing out the output of the foundry, this bug is reproducible. I don't believe this is related to power going out as I have no power problems at the moment, and it is reproducible even with smaller conditions (all set to 50 in the blueprint string below), so I don't believe it is related to the output being full. As far as I can tell, the only affected part of the foundry is the first slot, so that would probably explain why Bramber was unable to get inserters to remove any items at all from the foundry. That said, I don't know how to reproduce this bug when a foundry is only producing a single item. I suspect the actual root cause has to do with the logic for changing recipes, whether that is through circuit conditions or otherwise.

in the screenshot below I had removed the molten iron input pipe to screenshot the issue before the recipe changed
I have highlighted the offending inserter with a red box
I have highlighted the offending inserter with a red box
Foundry_bug.png (1.42 MiB) Viewed 303 times


here is the foundry that caused this issue for me:

Re: [2.0.9] Inserter waits for source items && Foundry output full

Posted: Tue Oct 29, 2024 2:49 am
by Brambor
I read this 116972 (fixed already) and it might have been the cause in my case too, so this is possibly fixed for me. I don't remember if the demolisher demolished that anymore, but they likely did.

Re: [2.0.9] Inserter waits for source items && Foundry output full

Posted: Tue Oct 29, 2024 5:12 pm
by elmbald
maybe, not sure if the behavior of being able to read the outputs was intended but my setup no longer works since it was relying on reading output slots. I expect just adding some chests will have fixed this issue entirely though with that report though