Search Issue Tracker

Fixed in 5.6.0f3

Fixed in 5.5.X, 5.6.X

Votes

234

Found in

5.5.0f3

Issue ID

856773

Regression

Yes

[Android] Location app crashes due to error 'jstring has wrong type: android.location.Location'

Mobile

-

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

Reproducible: 5.5.0f1, 5.5.0f3, 5.6.0a5
Not reproducible: 5.5.0b11

Issue is not device specific

Comments (115)

  1. wiz-japan

    Apr 10, 2018 08:57

    This is information sharing.
    It also occurs in Unity 5.4.6 f 3.

  2. damithcst

    Jun 20, 2017 14:14

    it fixed in version 5.6.1 f1 personal.

  3. ASPePeX

    Feb 27, 2017 10:32

    Latest regular release 5.5.2f1 works as well.

  4. BroodGamer

    Feb 26, 2017 20:03

    Guys im having a issue everything is pink in my unity even terrain i cant even add any textures to terrain idk where to post help me theres no videos about it on youtube

  5. H-Alex

    Feb 23, 2017 15:32

    Working confirmed in 5.5.1p4

  6. ASPePeX

    Feb 17, 2017 23:42

    5.5.1p4 is out and works (https://unity3d.com/unity/qa/patch-releases).

  7. ASPePeX

    Feb 16, 2017 11:40

    The fix will also be in 5.5.1p4, which should be coming this week.

    https://forum.unity3d.com/threads/5-5-released.443545/page-5#post-2959433

  8. ITSTH

    Feb 14, 2017 19:41

    Same here. Seems to work with 5.6.0b8.

  9. ASPePeX

    Feb 14, 2017 10:25

    Even tho it is not mentioned in the release notes it seems to be fixed in 5.6.0b8.

  10. SpudRat3

    Feb 14, 2017 07:01

    Wow. This is really getting annoying.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.