Page 1 of 1

[0.18.34] Game allows import of broken blueprint

Posted: Sat Jun 27, 2020 6:45 pm
by Berdes
I have a blueprint that seems to misbehave when I try to paste it. Basically, some entities get pasted at a different position than what they should have (and override what was supposed to be pasted at that position). Also, the preview in the map (the thing in green/red that I move around) have entities rendered with an offset of half of a tile.

Here is a video showing the issue: https://youtu.be/YvwvdcaM8uY. The region I delete at the begging has all the important bits: the preview has the weird belt at half-tile offset and then the splitter is pasted one tile to the left.

The issue seems to be related to the blueprint itself since I could reproduce it by exporting the blueprint and reimporting it to a new sandbox game. Also, the blueprint was created by the Factorio Blueprint Tools with the split tool. I would assume it generated a bad blueprint, but the game should not accept to import broken blueprint (or maybe remove the broken part with a warning).

Here is the blueprint:

Re: [0.18.34] Game allows import of broken blueprint

Posted: Sat Jun 27, 2020 10:19 pm
by Rseding91
The import logic doesn't do any validation of entity positions. You used a broken tool it seems and you got broken results. Not a bug.