# UNavigationPath returns 2 points when using DetourCrowd

**URL:** <https://forums.unrealengine.com/t/unavigationpath-returns-2-points-when-using-detourcrowd/449753>\
**Category:** Blueprint\
**Tags:** pathfinding, Navigation, detour-crowds, unreal-engine, Blueprint, question\
**Created:** [May 28, 2019, 9:45pm UTC](https://forums.unrealengine.com/t/unavigationpath-returns-2-points-when-using-detourcrowd/449753 "2019-05-28T21:45:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SHADESPIRIT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadespirit/32/552770_2.png) [@SHADESPIRIT](https://forums.unrealengine.com/u/SHADESPIRIT)\
**Post date:** [May 28, 2019, 9:45pm UTC](https://forums.unrealengine.com/t/unavigationpath-returns-2-points-when-using-detourcrowd/449753/1 "2019-05-28T21:45:09Z")

</div>

As stated above, I get a straight line from starting point to endpoint when debugging the result path. I can’t use FNavMeshPath cast to use PerformStringPulling(FVector,FVector) because (I guess) UNavigationPath is not a subtype of FNavMeshPath.  
I have followed thread below but I’ve soon hit a dead end.  
[https://answers.unrealengine.com/questions/292607/find-path-runtime-err.html](https://answers.unrealengine.com/questions/292607/find-path-runtime-err.html)  
I can’t use the FNavMeshPath because the navigation is handled by my AIController that returns a UNavigationPath. I’m getting the UNavigationPath via the GetController GetCurrentPath blueprint functions, anyone give me clues on how to go about this?
