I put 2 soldiers on a tile where there's a thingy, which apparently represents a trader or something like that. It's a caravan. The caravan stopped moving a while ago after I told it to retreat from a troll attack.
Now a spider arrives, and I get the option fight or retreat, but only the caravan is taken into account. The soldiers stay there and watch the spider slaughter the caravan merrily.
Next time, an ebbenwolf and a swamp bandit come by and attack. Only 1 of the 2 soldiers defends, and gets killed.
Stacking units is painful. I mean, it's hard. I most of the time don't manage to do it. The user interface for it is not usabel as is.
Even if it was, I can understand why you might want to stack units when attacking, butfor defense, it's just plain wrong.
If I want to put 10 soldiers in sentry on each tile of a road so the caravan goign there will never be alone, the soldiers should defend the caravan, even if it's not stacked with them. And I don't know how I could stack themm with the caravan, but I probably don't want to anyway.