[kovarex] [1.1.11] Crash (this->snapToGrid->x % coreSnapping == 0 was not true)

This subforum contains all the issues which we already resolved.
Post Reply
Jhonny_05
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Jan 22, 2021 10:23 am
Contact:

[kovarex] [1.1.11] Crash (this->snapToGrid->x % coreSnapping == 0 was not true)

Post by Jhonny_05 »

Hey, what is my problem here???

The game crashes every time I load my savegame, I have tried with all mods with no mods.

Savegame: https://drive.google.com/file/d/1lPQi7O ... sp=sharing

I am thankful for every help
Attachments
factorio-current.log
(56.06 KiB) Downloaded 122 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [1.1.11] Factorio crashed (this->snapToGrid->x % coreSnapping == 0 was not true)

Post by Klonan »

Can confirm this still crashes in the latest master

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [1.1.11] Crash (this->snapToGrid->x % coreSnapping == 0 was not true)

Post by kovarex »

TL;DR Thanks for the report, it is fixed for the next release now.

There were bunch of blueprints in your save that had snap to grid set to {1, 1}, while there were 2X2 entities in them.
I'm not 100% sure how it could happen, but I'm suspicions that this could happen when you change mods/mod settings and some migration changes one entity to another inside a blueprint.

So, to not make this check a stopper when loading save, I added a simple migration that changes the snap to grid to be valid whenever loading save with different mod settings than the current, which makes your save loadable in the next version.

P.S. The loading shows the history, and wow, this save has histor all the way down to 0.15.0 with 181 steps of updates or mod changes, it would be really shame to loose it because of a missing migration :)

Jhonny_05
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Jan 22, 2021 10:23 am
Contact:

Re: [kovarex] [1.1.11] Crash (this->snapToGrid->x % coreSnapping == 0 was not true)

Post by Jhonny_05 »

Thank you for the fastest fix in history

Now it is working pefectly

Post Reply

Return to “Resolved Problems and Bugs”