Note this bug happens in single player and multiplayer but since single player is simpler let's fix it there first and assume that fixes it in multiplayer. It seems to happen when ordering a squad to move near a wall. A good map to test this on is with L_SmallWithObstacles_Squad_vs_Squad_OffNavMesh and with the console commands:
pm.GiveAllSoldiersDrone 1
pm.ForceISMs 1
Then go into drone, wait for snap to nav mesh to run so all soldiers are on nav mesh, then select squad and order them to location at screenshot below. Then entity [i: 10 sn: 10] will end up in wall (see second screenshot below).
Todo:
[x] Find consistent steps to reproduce bug (see above)
[x] Create a functional test for this scenario, verifying it fails
Note this bug happens in single player and multiplayer but since single player is simpler let's fix it there first and assume that fixes it in multiplayer. It seems to happen when ordering a squad to move near a wall. A good map to test this on is with L_SmallWithObstacles_Squad_vs_Squad_OffNavMesh and with the console commands:
pm.GiveAllSoldiersDrone 1
pm.ForceISMs 1
Then go into drone, wait for snap to nav mesh to run so all soldiers are on nav mesh, then select squad and order them to location at screenshot below. Then entity [i: 10 sn: 10] will end up in wall (see second screenshot below).
Todo: