Search Issue Tracker

Fixed in Unity 5.6.0

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

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

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. Bbabb43a19e5ee64de87208f74840c32?d=mm

    wiz-japan

    Apr 10, 2018 08:57

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

  2. 420acce39d0e8e071a9650cb2e917025?d=mm

    damithcst

    Jun 20, 2017 14:14

    it fixed in version 5.6.1 f1 personal.

  3. 78f4debf14ab9850e224d2747b2227a8?d=mm

    ASPePeX

    Feb 27, 2017 10:32

    Latest regular release 5.5.2f1 works as well.

  4. 0cb1364d4acd08cb726ef9d6e6a38143?d=mm

    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. 3ea0aae0e4f6ecd6c2b75503a437ba33?d=mm

    H-Alex

    Feb 23, 2017 15:32

    Working confirmed in 5.5.1p4

  6. 78f4debf14ab9850e224d2747b2227a8?d=mm

    ASPePeX

    Feb 17, 2017 23:42

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

  7. 78f4debf14ab9850e224d2747b2227a8?d=mm

    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. 76538e1e59bd6db1ad28bfd318c8609e?d=mm

    ITSTH

    Feb 14, 2017 19:41

    Same here. Seems to work with 5.6.0b8.

  9. 78f4debf14ab9850e224d2747b2227a8?d=mm

    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. 87fec6499406e63e03117df161d53150?d=mm

    SpudRat3

    Feb 14, 2017 07:01

    Wow. This is really getting annoying.

All about bugs

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