Engine Error when connecting buildings through common wall

Connecting two buildings by placing a wall between them (touching both) causes an engine error.

Steps to reproduce:

  1. Build and finish two separate buildings close to each other.
  2. Construct a new building with wall segments. Make sure that the walls are continuous and start directly touching one of these buildings.
  3. Place a last segment, touching the second building and therefore connecting both.

Expected Results:
Regularly finish the building as usual.

Actual Results:
Engine error, see screenshot


Version Number and Mods in use:
release-549, x64 on Steam

System Information:
Windows 10, x64