[1.1.5] Priority splitter "hangs on" to item
Posted: Sat Dec 26, 2020 8:17 pm
If you load a yellow splitter using a blue belt, then prioritize a lane that is backed up, the next item to reach the splitter will receive an item that the splitter was "holding onto".
Pictures attached, along with save that demonstrates this (and obligatory logs).
I expected the splitter to have already "resolved" the last split, and that the same item that was coming down the lane would be "split" onto the non-prioritized output lane. Instead, the splitter appears to "resolve" the last split when it receives the next item, causing the wrong item type to proceed down the lane.
I've noticed that this doesn't seem to occur with non-compressed belts, but this should be re-verified.
Since I'm trying to develop a system where multiple item types share the same lane (at different time intervals, gated via circuit network), this bug is messing up my attempts at doing so, because if the belt gets compressed at any point, it will cause mis-sorting.
After typing all this up, I decided to see what would happen if I remove the priority on the splitter. When I do, the splitter immediately releases the "held" item onto the (formerly unprioritized) lane. It does this as soon as I click to remove the priority, even with no further items being input to the splitter.
Pictures attached, along with save that demonstrates this (and obligatory logs).
I expected the splitter to have already "resolved" the last split, and that the same item that was coming down the lane would be "split" onto the non-prioritized output lane. Instead, the splitter appears to "resolve" the last split when it receives the next item, causing the wrong item type to proceed down the lane.
I've noticed that this doesn't seem to occur with non-compressed belts, but this should be re-verified.
Since I'm trying to develop a system where multiple item types share the same lane (at different time intervals, gated via circuit network), this bug is messing up my attempts at doing so, because if the belt gets compressed at any point, it will cause mis-sorting.
After typing all this up, I decided to see what would happen if I remove the priority on the splitter. When I do, the splitter immediately releases the "held" item onto the (formerly unprioritized) lane. It does this as soon as I click to remove the priority, even with no further items being input to the splitter.