When emerging from the sea with a team of AI units behind you, they try to take the most direct route to land... through rocks, and get stuck upon getting inside a rock.
I try to take the route that is safest to me, and a route that I can go to get in land (between rocks etc).
I wonder if the AI path finding does not work around/between rocks.