Try using Unity's navigation system next time - it includes pathfinding and an algorithm for automatic avoidance between the characters so they don't get stuck on each other,