Given a blueprint LuaItemStack, with blueprint_snap_to_grid=nil but blueprint_position_relative_to_grid set:
- With a small blueprint, no entities are visible, and trying to place it gives "cannot build out of map".
- With a very large blueprint, the game crashes. Attached are the logs of such a crash.
Detailed reproduction steps:
- create a blueprint of some entities near 0,0
- /c game.player.cursor_stack.blueprint_position_relative_to_grid = {2, 2}
- Try to place the blueprint
I would expect instead ignoring relative to grid, or give an error when trying to set blueprint_position_relative_to_grid without snap_to_grid; not to crash the game.
[Boskid] [1.1.110] Blueprint crash with blueprint_position_relative_to_grid without snap_to_grid
-
- Inserter
- Posts: 38
- Joined: Fri Jun 11, 2021 5:20 pm
- Contact:
[Boskid] [1.1.110] Blueprint crash with blueprint_position_relative_to_grid without snap_to_grid
- Attachments
-
- factorio-previous(1).log
- (13.79 KiB) Downloaded 10 times