Page 1 of 1

[2.0.66] Stack insterer only respect certain stack size limits. 1,2,3,4,8,12,16 other limits ignored

Posted: Wed Sep 17, 2025 2:04 pm
by XenoCyber
A Stack inserter set to override stack size = 5 will output 4 items onto the belt not 5. 1,2,3 or 4 work so it knows how top place partial stacks but wont do it for 5,6,7. A stack size of 8 works as it outputs 2 stacks.

Image

As you can see in the image above, The Stack inserter is set to stack size 5 but it outputs a stack of 4 items onto the belt. In this case it has a filter set by a control signal. I expected it to put 5 items on the belt in a stack of 4 and a stack of 1 and it took a while to realize this was the issue.

I have also attached a save with this build on Vulcanus.

I tired searching for this, i did not find a relevant bug post, if this is expected behavior sorry to waste your time, as always everyone on the team has made an amazing game thank you.

Re: [2.0.66] Stack insterer only respect certain stack size limits. 1,2,3,4,8,12,16 other limits ignored

Posted: Wed Sep 17, 2025 2:11 pm
by Rseding91
Thanks for the report however this is working as intended. Stack inserters only output full stacks of items onto belts unless specifically set to be less than the belt stack size. When the inserter limit is set to > the belt stack size but < a multiple of the stack size - it has no way to know "I only have 3 items, I should just put that onto the belt" since it might then *always* put 3 items on the belt which is < than the belt stack size of 4.

Re: [2.0.66] Stack insterer only respect certain stack size limits. 1,2,3,4,8,12,16 other limits ignored

Posted: Wed Sep 17, 2025 2:14 pm
by boskid
This is working exactly as intended: https://lua-api.factorio.com/2.0.66/pro ... belt_stack (also described in https://wiki.factorio.com/Stack_inserter). Rseding91 is right marking this as Not a bug.