Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.2.0b4
Issue ID
715370
Regression
No
NavMeshAgent.hasPath is false when agent is crossing an OffMeshLink
hasPath becomes false on OffMeshLink
Run "test" scene in attached project. Agent is folowing to destination and there is an OffMeshLink on it's path:
- before link: hasPath = true;
- on a link and one frame after: hasPath = false (expected true);
- after link and till the destination: hasPath = true;
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
silvershunt
Mar 07, 2017 17:39
Is this really resolved?
Please post the "test" scene that was mentioned on the description. I want to use the scene file to re-check. I am using 5.5 and experiencing this issue. On my scene file, I have two small NavMeshArea islands. After running the scene, the agent gets to moved back and forth in a sort of loop, between the off-meshlink immediately after arriving on the opposite side, and even before reaching the destination. Workaround is to use "remainingDistance" or "Vector3.distance".