[2.0.77] Modded elevated rails: upgrade planner doesn't work on some arbitrary rail tracks
Posted: Sun Jun 14, 2026 5:16 pm
Hi, I came back to modding today and noticed a new bug from a report on my mod https://mods.factorio.com/mod/minimalist-rails.
My mod adds rails, ramps and elevated rails. The upgrade planner recognizes every section from the normal rail to be replaced by modded rails.
I have the robots, the materials, most sections are replaced correctly, but not all. Some specific elevated rails, and rail ramps, don't want to upgrade.
The exact behavior is: green arrow appears, bot takes a new rail and goes to the rail, bot arrives and removes the green arrow, rail doesn't change, bot comes back with the new rail. So like it changed it from "old" to "old". As seen on the screenshot, it's not specific shapes, it seems related to the position with ramps and pylons. Also, if I try to build a new rail or new ramp on top of the old one manually, ramps don't let me (as seen in photo 4) and rails stay the same.
My mod adds rails, ramps and elevated rails. The upgrade planner recognizes every section from the normal rail to be replaced by modded rails.
I have the robots, the materials, most sections are replaced correctly, but not all. Some specific elevated rails, and rail ramps, don't want to upgrade.
The exact behavior is: green arrow appears, bot takes a new rail and goes to the rail, bot arrives and removes the green arrow, rail doesn't change, bot comes back with the new rail. So like it changed it from "old" to "old". As seen on the screenshot, it's not specific shapes, it seems related to the position with ramps and pylons. Also, if I try to build a new rail or new ramp on top of the old one manually, ramps don't let me (as seen in photo 4) and rails stay the same.