Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

MAJOR LOCATION PROBLEM : JSTRING HAS WRONG TYPE: ANDROID.LOCATION.LOCATION

Discussion in 'Android' started by Mild-Mania, Jan 5, 2017.

  1. Mild-Mania

    Mild-Mania

    Joined:
    May 16, 2013
    Posts:
    11
    Has anyone came across and found a workaround for this ? It's blocking our release, and Unity doesn't seem to care about it.
    (Quote from issuetracker)
    How to reproduce:
    1. Open the attached project
    2. Build and Run Test scene on Android device (it has only one line Input.location.Start() in script)
    3. When app launches, select "Allow" in the permission dialog
    4. App will start and location service will start to initialize
    5. Notice that app will crash in several second after beginning of location init

    https://issuetracker.unity3d.com/is...-wrong-type-android-dot-location-dot-location
    (Also wondering why 5.5 is still in beta in issuetracker?)
     
  2. Mild-Mania

    Mild-Mania

    Joined:
    May 16, 2013
    Posts:
    11
    Bump since still waiting for workaround