Why can't the NPC set up a path when it's possible

I have set up the path search correctly, but when there is a slide, it stops and does not see even if I am a centimeter away from the NPC. How do I solve this problem?