Page 1 of 1

[0.15.X] Inserters get stuck and deadlock factory

Posted: Sat Aug 05, 2017 5:45 pm
by Jake_Rich
Inserters don't check if there is enough space in the inventory they are inserting into, causing them to get stuck if they are transporting multiple materials.

It happens because the inserter will grab a full stack of 12 items (for example), when the chest can only fit 4. It will be left with 8 materials in its hand, but won't be able to deposit them or pick up new items until it empties what it is holding, eventually jamming everything up.

Inserters stuck and can't insert or grab materials

Inserter stuck on normal chests

Happens in a red circuit train based factory

Perhaps make red disabled slots in chests soft limits, so the inserter will empty the stack into the chest and it will overflow into red slots, but won't try and deposit any more into the chest once it is full to the red disabled slots.

Re: [0.15.X] Inserters get stuck and deadlock factory

Posted: Sat Aug 05, 2017 5:51 pm
by d3x0r
How would it help to make it a soft limit? Instead of sitting with a partial stack they'll finish that and sit with a full stack. It's not like inserters service more than one thing.

Re: [0.15.X] Inserters get stuck and deadlock factory

Posted: Sat Aug 05, 2017 6:48 pm
by Rseding91
Thanks for the report. This is working correctly as it is: the inserter grabs as much as it can hold and tries to put it in the destination. If it can put all of it in it waits.

If you don't want that behavior you'll need to either limit the stack size to 1 or use 1 inserter per item type you want to move.