I use the Unity3d 5.5.
when I try to call “input.location.start(1.0f,1.0f)” in my C# script,My game will crash in Android
My code will run good in Unity3d 5.4.
I use the Unity3d 5.5.
when I try to call “input.location.start(1.0f,1.0f)” in my C# script,My game will crash in Android
My code will run good in Unity3d 5.4.
It is a known bug atm and this is not exactly the place for bugs, this is: Unity Issue Tracker - [Android] Location app crashes due to error 'jstring has wrong type: android.location.Location'
Edit: Currently there is also no known workaround and I doubt there will be one. You have to keep using 5.4 until this is fixed.