[2.0.32] Stack and bulk inserters swapped when loading save

This subforum contains all the issues which we already resolved.
Avaaa2499
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jan 29, 2025 7:26 pm
Contact:

[2.0.32] Stack and bulk inserters swapped when loading save

Post by Avaaa2499 »

After playing on my laptop, I quit Factorio and let it sync with steam cloud. I then opened Factorio on my Desktop, and when i loaded my main save, it swapped every stack inserter with a bulk inserter, and vice versa.
When i load my laptop, it does not have this issue. When loading on my Desktop, it has an extra "Checking consistency" step, which i do not see when loading on my laptop.
I am unable to find anything in the logs, and they look pretty fine to me, however i uploaded them anyway.
Not trusting steam, I manually transferred the save over to my desktop, and it still had the same issue.
I have attempted reinstalling through steam, however the issue still persists.
Attachments
factorio-current.log
Laptop Log (NO ISSUE)
(2.89 KiB) Downloaded 29 times
factorio-current.log
Desktop Log (Issue
(8.3 KiB) Downloaded 35 times
[quality=uncommon][item=parameter-3].zip
Save File
(98.19 MiB) Downloaded 30 times
robot256
Smart Inserter
Smart Inserter
Posts: 1248
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.32] Stack and bulk inserters swapped when loading save

Post by robot256 »

Can you post a complete log for your laptop? That one terminates prematurely.
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.
Avaaa2499
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jan 29, 2025 7:26 pm
Contact:

Re: [2.0.32] Stack and bulk inserters swapped when loading save

Post by Avaaa2499 »

robot256 wrote: Wed Jan 29, 2025 8:44 pm Can you post a complete log for your laptop? That one terminates prematurely.
huh, no clue why it did that. sorry about that.
Attachments
factorio-current.log
Laptop Log
(6.87 KiB) Downloaded 29 times
Loewchen
Global Moderator
Global Moderator
Posts: 10260
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.32] Stack and bulk inserters swapped when loading save

Post by Loewchen »

It's running the migration script when loading the save on your desktop for some reason. Try verifying your install through steam.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4050
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.32] Stack and bulk inserters swapped when loading save

Post by boskid »

Most likely explanation is that your installation on your laptop is missing migrations, specifically "base/migrations/1.2.0 stack inserter rename.json" is missing. Because of that, your save file claims that it does not have it so when loading this save file on your desktop the game sees that it has a migration that was not yet applied and applies it, and this migration swaps the stack and bulk inserter.

Suggested steps for you:
1/ On your laptop, make sure the installation is not missing any files (possibly by "verifying integrity of game files" option if you are using steam)
2/ On your desktop, you can temporarily replace content of the "base/migrations/1.2.0 stack inserter rename.json" file with an empty migration:

Code: Select all

{}
then loading this save file and resaving it so the game thinks this migration was applied (migrations are identified by the file name) without swapping the inserters.

As for the game behavior, that is correct behavior if migration files are missing and there are no bugs on the game side. In a rare occurence if you would find that the migration files are present on your laptop and yet the game does not apply them to a loaded save file, that will need some additional details.
Avaaa2499
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jan 29, 2025 7:26 pm
Contact:

Re: [2.0.32] Stack and bulk inserters swapped when loading save

Post by Avaaa2499 »

boskid wrote: Wed Jan 29, 2025 11:09 pm Most likely explanation is that your installation on your laptop is missing migrations, specifically "base/migrations/1.2.0 stack inserter rename.json" is missing. Because of that, your save file claims that it does not have it so when loading this save file on your desktop the game sees that it has a migration that was not yet applied and applies it, and this migration swaps the stack and bulk inserter.

Suggested steps for you:
1/ On your laptop, make sure the installation is not missing any files (possibly by "verifying integrity of game files" option if you are using steam)
2/ On your desktop, you can temporarily replace content of the "base/migrations/1.2.0 stack inserter rename.json" file with an empty migration:

Code: Select all

{}
then loading this save file and resaving it so the game thinks this migration was applied (migrations are identified by the file name) without swapping the inserters.

As for the game behavior, that is correct behavior if migration files are missing and there are no bugs on the game side. In a rare occurence if you would find that the migration files are present on your laptop and yet the game does not apply them to a loaded save file, that will need some additional details.
thanks, this fixed it.
i verified both installations just in case, and both said all files were successfully validated.
Post Reply

Return to “Resolved Problems and Bugs”