Page 1 of 1

[2.0.37] Pasted inserter does not take from train on curve

Posted: Thu Feb 27, 2025 9:32 am
by tinker9
What did you do?

I copy-pasted a train stop with an inserter taking from the rear of the last train carriage, where that train carriage is on a slight curve.

What happened?

That specific inserter does not take anything from the train carriage, but the other inserter at right angles to that carriage does.

What did you expect to happen instead? It might be obvious to you, but do it anyway!

All inserters next the carriage take from the carriage.

Does it happen always, once, or sometimes?

It always happens after I copy-paste.
It goes away when I delete the inserter, wait for it to be removed, then undo the deletion.
It doesn't happen with manually placed rails in the same configuration.

If you can reproduce the issue, provide the exact steps!

1. Copy-paste any of the "science drop-off" train stops.
2. Make a 2 carriage train go to them.
3. See that one of the inserters doesn't take from the last carriage.

Save game:
https://www.sendspace.com/file/h1kq33

Re: [2.0.37] Pasted inserter does not take from train on curve

Posted: Thu Feb 27, 2025 8:42 pm
by Rseding91
Thanks for the report. IT looks like the inserter found the curved rail as the drop target since the bounding box intersects with the tile it's trying to drop onto, and the chest did not originally exist at the time it found it. Once an inserter find a drop target, or pickup target, it will never release it unless it becomes invalidated in some way.

The simple answer is, this is an edge case that we don't have any nice solution for except "don't build inserters around curved rails"