Temporary fix to this is using Ai Navigation Modification Device on the areas where you don’t want NPC to stuck. Adjust Navigation Modification Type on “Avoid”.
The other thing, if you have a relatively big level with complex geometry, you may need a hundreds of those