enemies getting stuck in an area of map

You can disconnect your existing AI behavior and then instead call this function at Event Begin Play. Think of it as a test to check if the AI movement system is working fine.

If the stuck AI at the top moves using this logic, then perhaps they are unable to find a path to the player.