[2.0.71] Crash during migration of Bulk Rail Loader and legacy-straight-rail (Rail::makeRealRailConnection)

We are aware of them, but do not have solutions that don't cause other issues. They go here in order not to take space in the main bug thread list.
Sander20011
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Oct 21, 2025 3:26 pm
Contact:

[2.0.71] Crash during migration of Bulk Rail Loader and legacy-straight-rail (Rail::makeRealRailConnection)

Post by Sander20011 »

I wanted to migrate my modded savegame to 2.0 since all the mods I used are ported to 2.0 but when trying to load a save containing Bulk Rail Loaders to the new version of Bulk Rail Loaders it crashes.
I suspect it has something to do with the rail segments the entity places to connect the rails, but I am unable to test this myself.
Attachments
factorio-current.log
(10.61 KiB) Downloaded 112 times
BULK RAIL TESTING.zip
(24.6 MiB) Downloaded 137 times
User avatar
ThePiachu
Inserter
Inserter
Posts: 40
Joined: Sat Aug 22, 2015 8:54 pm
Contact:

Re: [2.0.71] Crash during migration of Bulk Rail Loader and legacy-straight-rail (Rail::makeRealRailConnection)

Post by ThePiachu »

I also encountered this bug migrating my save to 2.0.77.
factorio-current.log
(25.73 KiB) Downloaded 37 times
robot256
Smart Inserter
Smart Inserter
Posts: 1454
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.71] Crash during migration of Bulk Rail Loader and legacy-straight-rail (Rail::makeRealRailConnection)

Post by robot256 »

I've seen this in the past when trying to migrate a pre-2.0 "straight-rail" directly to a 2.0 "straight-rail". The order of the connection points is different so it doesn't work. The solution is to migrate the old rails to a "legacy-straight-rail" prototype, and either leave them like that or use scripts to replace them with a new 2.0 "straight-rail" entity later.

It's very likely this is a problem in one or more of the Bulk Rail Loaders forks, but I haven't checked.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17448
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.71] Crash during migration of Bulk Rail Loader and legacy-straight-rail (Rail::makeRealRailConnection)

Post by Rseding91 »

Looking into this; I don't think this is fixable. The entire train and rail system is setup to assume the rails *don't change* once created and this is doing exactly that. In the best case - the rails change and any trains on them get deleted. In the worse case it crashes like it is now.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Minor issues”