Is there any way to improve roblox's pathfinding?

I honestly don’t know what is up with the pathfinding, I turn on the improved search option in workspace and the NPC slams into a wall or stops walking, I turn it to default, works slightly better than improved option for some reason but they still slam themselves onto a wall, I edit the agent options, still the same behaviour, I edit the map to make it even more simple, making the game look slightly cheap, the NPC still goes into a wall.

I’m not even joking, I think the NPCs in my game want to make me go insane, I legit saw one of them walking towards me, 10 studs away from reaching me and doing their attack function, the path towards me was clear with just a wall to the right side of it, HE STILL WENT STRAIGHT TO THE WALL.
image
THIS IS WHERE IT HAPPENED, how, why??

I’m not at an advanced level in programming yet, so I can’t make my own pathfinding system, I can only rely on roblox’s

image
???