metrica-plugin-unity icon indicating copy to clipboard operation
metrica-plugin-unity copied to clipboard

Crash Using unity 5.5.1f1 Android 6.0

Open G-r-i-n-c-h opened this issue 8 years ago • 3 comments
trafficstars

its crashing every time i run application

G-r-i-n-c-h avatar Feb 02 '17 15:02 G-r-i-n-c-h

APP_METRICA_TRACK_LOCATION_DISABLED if this is add to Script Define symbols its working but what to do if i want to get location of the device ?

G-r-i-n-c-h avatar Feb 02 '17 15:02 G-r-i-n-c-h

It's bug in Unity 5.5 https://issuetracker.unity3d.com/issues/android-location-app-crashes-due-to-error-jstring-has-wrong-type-android-dot-location-dot-location Still not resolved

dimmduh avatar Feb 03 '17 03:02 dimmduh

@dimmduh is right. We faced the same problem right before the latest release and could do nothing with it. Until it is fixed in future release of Unity itself you should use APP_METRICA_TRACK_LOCATION_DISABLED for Android builds or remove Input.location.Start() from AppMetrica.cs.

bamx23 avatar Feb 03 '17 08:02 bamx23