This is most easily reproduced by fighting AI on uneven terrain, especially in one of the wheat fields.
You will at times simply get shot as the AI hides their head behind grass or wheat, because the AI ignores the foliage on the ground and sees you through it.
This issue is especially pronounced when the terrain is somewhat uneven. The AI seems to only consider the ground for line of sight, not the height of the grass or wheat.