[BUG] Units can walk through enemy buildings in certain situations

Game Version:

  • Build 4426672 (but actually an old bug ported by original AOE2)
  • Platform: any


Units can walk through an enemy building when another player has placed a foundation on top of the player’s own foundation.
The bug is shown in this video.

Reproduction Steps:

  1. Place a building foundation.
  2. Another player places another building foundation on the same spot.
  3. Player units can now walk through the other player’s building both while it’s being built AND after it’s been built.

Screenshot from the video linked above:

Screenshot from reproduction of my own: