# Why “Find Path to Location Synchronously” No return value？

**URL:** <https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564>\
**Category:** AI\
**Tags:** Navigation, unreal-engine, path, question\
**Created:** [November 14, 2017, 7:18am UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564 "2017-11-14T07:18:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![GaoHeShun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GaoHeShun](https://forums.unrealengine.com/u/GaoHeShun)\
**Post date:** [November 14, 2017, 7:18am UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/1 "2017-11-14T07:18:48Z")

</div>

Hi！everybody：  
I want to use“Find Path to Location Synchronously” node，Find Path points ，But sometimes there is a return value, and sometimes the return value is empty。  
Who can help me? I will be very grateful

 ![220077-qq截图20171114151447.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/8/c78c49e127e14d87395c2764e870ca2f1ba1c21f.png)

---

<div class="post-metadata">

**Author:** ![Quadslab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quadslab](https://forums.unrealengine.com/u/Quadslab)\
**Post date:** [January 4, 2018, 2:00pm UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/2 "2018-01-04T14:00:10Z")

</div>

You need to plug a Nav Mesh Bounds Volume in Pathfinding Context.

---

<div class="post-metadata">

**Author:** ![GaoHeShun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GaoHeShun](https://forums.unrealengine.com/u/GaoHeShun)\
**Post date:** [January 23, 2018, 6:50am UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/3 "2018-01-23T06:50:24Z")

</div>

It has been added, but it still doesn’t work, the green is covered, and the characters sometimes have problems.

---

<div class="post-metadata">

**Author:** ![Quadslab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quadslab](https://forums.unrealengine.com/u/Quadslab)\
**Post date:** [January 24, 2018, 5:47pm UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/4 "2018-01-24T17:47:02Z")

</div>

Maybe your character is blocking the navigation, but I don’t know where you can change this option

---

<div class="post-metadata">

**Author:** ![GaoHeShun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GaoHeShun](https://forums.unrealengine.com/u/GaoHeShun)\
**Post date:** [January 26, 2018, 8:54am UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/5 "2018-01-26T08:54:27Z")

</div>

I put a lot of the same characters in the scene, they are the vehicle type, some can be some can not, but some had failed, moving forward the smallest distance can be successful, so far I haven’t found the reason

---

<div class="post-metadata">

**Author:** ![Uraner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Uraner](https://forums.unrealengine.com/u/Uraner)\
**Post date:** [February 27, 2019, 3:42pm UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/6 "2019-02-27T15:42:42Z")

</div>

Have you found the solution?

---

<div class="post-metadata">

**Author:** ![zzzzzzzwang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zzzzzzzwang](https://forums.unrealengine.com/u/zzzzzzzwang)\
**Post date:** [March 22, 2024, 2:51pm UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/7 "2024-03-22T14:51:01Z")

</div>

You can use GetPathfindingResult to check if path finding is successful

 ![Snipaste_2024-03-22_15-13-50](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/8/ce844ef4af7d5ba0330f7daae51581ca394fe8ab.png)  
Maybe the two points is too high and out of Navigation.

---

<div class="post-metadata">

**Author:** ![RurouniJones](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RurouniJones](https://forums.unrealengine.com/u/RurouniJones)\
**Post date:** [September 1, 2024, 7:21pm UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/8 "2024-09-01T19:21:07Z")

</div>

I ran across this issue and, after many hours wasted time, figured out the issue for my use-case, documenting it here in case anyone else runs across the issue. In my situation `Find Path to Location Synchronously` didn’t work but `AI Move To` with the same inputs did.

It was due to the height of my actor combined with `Get Actor Location` where the Z value was high up compared to the navigation grid.

Instead of using `Get Actor Location`, I used `Get Nav Agent Location` which had the same X and Y values but a Z value that was at the bottom of the character rather than half-way up.

I assume `AI Move To` worked because it did some similar Z handling in the node.

---

<div class="post-metadata">

**Author:** ![Kirito47Arc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kirito47Arc](https://forums.unrealengine.com/u/Kirito47Arc)\
**Post date:** [February 25, 2025, 3:40pm UTC](https://forums.unrealengine.com/t/why-find-path-to-location-synchronously-no-return-value/409564/9 "2025-02-25T15:40:17Z")

</div>

I had the same problem in c++ only to find out that i have being the game in Client mode. When playing in client mode this will return null. In standalone this will work. To make sure it works in Client you have to go to project settings -\>Navigation and Allow Client Side Navigation
