Topic: Navigate conncet problem
We use DistanceAndDurationExample script to get GPS imformation for building navigation system but Today OnlineMapsGoogleDirectionsResult's request all turns null. So we can't use the navigation function now.
We want to know what issue is?
But yesterday we just use this system normally .
1.our package version is 3.7.01.
2.We use google map to be our provider.(But we tried others provider is also request null)
3.We can't get map's image Imformaiton normally , just can't get navigation text imformation(like "go north",Distance).
Plz help us! I will really appreciat for it.
private void OnGoogleDirectionsComplete(string response)
{
//Debug.Log(response);
// Try load result
OnlineMapsGoogleDirectionsResult result = OnlineMapsGoogleDirections.GetResult(response);
if (gameObject == null) return;
if (gameObject.activeSelf == false) return;
if (result == null || result.routes.Length == 0 || gameObject.activeSelf == false)
{
print("result is null");
print("result Length: "+result.routes.Length);
return;
}
}