I prefer using the test path function instead. It works + it’s a lot faster:
bool UNavigationSystem::TestPathSync(FPathFindingQuery Query, EPathFindingMode::Type Mode, int32* NumVisitedNodes)
The behavior tree decorator BTDecorator_DoesPathExist uses that one if you want an example use.