Villagers bug out when fighting boar with spears

I’ve found an issue where amoving villagers to fight a boar (or any animal) will often cause them to bug out for a few seconds once they get into melee range. They’ll fire a volley of arrows just fine, but once they get in melee and pull out spears, they’ll repeatedly bug between winding up the attack and just holding the spear for a few seconds. This seems to happen when fighting all animals that they use a spear against, though it doesn’t seem to happen every time.

Thank you for reporting @emctwoo! The team is looking into this one.