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;
Comments (1)
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
- Warning "Unable to load Unity.Android.Gradle's referenced assembly NiceIO ..." when recompiling scripts
- "InvalidOperationException: Trying to SetRenderAttachment on a texture..." exception is thrown when using the depth back buffer as an input attachment in Renderer Feature on Vulkan Graphics API
- [HDRP Wizard] Reload Window fails to reload the HDRP Wizard window
- [HDRP Wizard] Fix All button is not presented using the macOS system
- "InvalidCastException: Specified cast is not valid" is thrown when Generating Lighting with "Virtual Offset" enabled in APV, and a static Skinned Mesh Rendered with a Mesh Filter Component is in the Scene
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".