[14.22] Stopped trains still pathfind

This subforum contains all the issues which we already resolved.
Post Reply
aaargha
Filter Inserter
Filter Inserter
Posts: 330
Joined: Wed Dec 07, 2016 8:35 am
Contact:

[14.22] Stopped trains still pathfind

Post by aaargha »

It seems that trains that are stopped at red signals and have no way of progressing still update their paths.

The attached save contains a couple of examples created to show this, just turn on show_rail_paths to see the path changes. The combinators change which path is available every 5 sec or so and the trains update accordingly.

I'm guessing that the only result of this behaviour is wasted CPU time as the trains will recalculate their paths anyway when the signal turns green. However if there is some kind of shared path-finding budget (I'm thinking there is not, but still) it should really be looked at.
Attachments
TRAIN PATH BUG.zip
(1.77 MiB) Downloaded 38 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13210
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [14.22] Stopped trains still pathfind

Post by Rseding91 »

Thanks for the report. I've changed trains so if they know they're stopped at a standard signal they won't try to re-path every-so-often since as you've said they have no way to progress until that signal changes.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”