This was encountered in an MP game as we had a long queue of path requests due to many layers of wall around the base and artillery triggering biter. I tried to use the command to make the pathfinder more forwards moving as in SP testing this significantly sped up the time for it to find a path through the walls (as it can't go around them). Logged under Performance optimisation save thread: viewtopic.php?p=578064#p578064
The save is paused in editor mode. An artillery shell has just hit some biters to the north east and they will shortly pathfind to the artillery. There is a lot of wall between them just to slow the pathfinder down enough so that the pathfinder setting can be changed mid path search.
Reproduction steps:
- Be in Factorio with no mods and have heavy mode enabled. Start a new game and do `/toggle-heavy-mode` in console.
- Load save:
- The game should be paused and from editor mode and in heavy mode still.
- Enable the debug layer `show-pathfinder-fringe`.
- Be in map view so you can see the pathfind fringe when the path request is being processed.
- Unpause the game and wait for the biters to make a path request to the artillery. This is when the path request fringe overlay will light up.
- Run the command to change some pathfinder settings:
Code: Select all
/sc game.map_settings.path_finder.fwd2bwd_ratio = 20 game.map_settings.path_finder.goal_pressure_ratio = 5
- The heavy mode should start reporting desyncs.