AI hugging walls and pathing into corners

My AI character insists on hugging walls as closely as possible to take the shortest route on an AI MoveTo action, often getting it caught on corners, and nothing I’ve done fixes it. I’ve adjusted the agent radius both in the character settings and the project settings, and adding a supported agent in the nav system settings stops it moving altogether regardless of how it’s set up. I’ve also tried changing the capsule radius for the actor with no luck.