Attaching one component to another crash: 'template mismatch during attachment'

I’ve been struggling with this problem for over a day now, but just managed to solve it.

The underlying problem was a circular hard reference in a couple BP components, which apparently causes a different component initialization path.

I removed those hard references and the problem goes away.