Select to view content in your preferred language

Method SolveRouteAsync Unhandled Exception when using offline data and pedestrian mode

175
1
10-31-2024 07:20 AM
SOTIRIOSTRIANTOS
Regular Contributor

Method SolveRouteAsync crashes without raising a catchable exception

  • When trying to solve routes in pedestrian mode with long distances.
  • When solving routes using a custom mobile map package (MMPK).

Environment Information

  • ArcGIS Runtime SDK Version: 200.5.0.
  • Operating System: Windows 10 pro.

Any ideas why?

0 Kudos
1 Reply
GKmieliauskas
Esri Regular Contributor

Hi,

I had similar issue. After some investigation I have found that it couldn't be only distance issue. Sometimes it works on longer paths and doesn't on shorter. I noticed what it could be dependent on restricted paths for walking (highways and etc.) If it is possible to find a way that for example can cross highway but not goes along highway and distance is longer (but not so much) then it creates route. Otherwise it returns exception. So it depends on not only distance but and other network parameters.

0 Kudos