With a path_resolution_modifier value of 1 or 0 (default) it doesn't crash.
Sample vanilla save that the below command breaks:
Code: Select all
/c game.surfaces[1].request_path({
bounding_box = game.player.character.prototype.collision_box,
collision_mask = game.player.character.prototype.collision_mask,
start = {0,0},
goal = {100,150},
force = game.player.force,
path_resolution_modifier = 10
})