[1.0.0] Crash loading invalid blueprint

This subforum contains all the issues which we already resolved.
Post Reply
benoitranque
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Jul 06, 2020 2:26 pm
Contact:

[1.0.0] Crash loading invalid blueprint

Post by benoitranque »

To be clear I know this is entirely my fault.

I just expected the invalid blueprint to throw an error message, not crash the game.

Details on how to reproduce: So I was making railways blueprints, and decided to use the snap to grid feature. To my annoyance, you cannot snap to a rail's midpoint, which is what I intended. In the image below, I intended to snap at the midpoint of the outermost rails.

Not to be deterred by intentional game design, I went to this https://factorio.tmin10.ru/ blueprint encoder/decoder, and changed the x and y values of snap to grid. I then encoded the blueprint again, and attempted to load the blueprint into the game. Factorio did not like that!
stuff
Thanks a bunch!

Error Blueprint.cpp:763: this->snapToGrid->x % coreSnapping == 0 was not true
Attachments
factorio-previous.log
log
(8.17 KiB) Downloaded 71 times
factorio-dump-previous.dmp
dump
(758.08 KiB) Downloaded 73 times

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.0.0] Crash loading invalid blueprint

Post by posila »

Ok, I made it error gracefully.

Post Reply

Return to “Resolved Problems and Bugs”