Search Issue Tracker

Fixed in 5.6.0f3

Fixed in 5.5.X, 5.6.X



Found in


Issue ID




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



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. Theby

    Jan 30, 2017 13:48

    I really hope this gets address soon. My whole project is based in GPS location.

  2. AurekSkyclimber

    Jan 27, 2017 18:33

    @Zuicis - Excellent news! Thank you for making that post! Here's hoping we'll have a fix soon.

    23 votes until this is the fourth highest issue of all time.

  3. Zuicis

    Jan 26, 2017 19:09

    @AUREKSKYCLIMBER and others (copy&paste answer): "Hi yes, apologies for the wait. It was a more complex problem than the team initially thought. There is a fix for 5.6 on the way which is being tested right now, and it will also be backported to 5.5 and 5.4. We will know soon from QA in what upcoming patch this fix will land in."


  4. AurekSkyclimber

    Jan 26, 2017 17:48

    @anthonyioflux - More ridiculous is the fact that no one from Unity has said anything about the issue at all. You'd think we'd at the very least get an acknowledgement that they know this is an issue.

    This is currently the fifth highest voted issue of all time. 28 votes until it's number four. 55 until it's number one.

  5. anthonyioflux

    Jan 26, 2017 13:00

    Ridiculous that this is still not fixed and has a priority of 7. This is a major release blocker. Pull your socks up Unity!

  6. ASPePeX

    Jan 26, 2017 11:20

    Broken in 5.6.0b5 as well.

  7. ASPePeX

    Jan 26, 2017 10:23

    Still broken in 5.5.1f1 and 5.4.4p2.

  8. alecsandru95

    Jan 25, 2017 17:29

    Does anyone know if they fixed it in 5.5.1?

  9. SpudRat3

    Jan 24, 2017 19:11

    The workaround mentioned by BREAN does reduce the frequency of crashes. I came across it myself, but sometimes it crashes before the count-down expires. Better, but not the solution.

  10. brean

    Jan 24, 2017 16:23

    This is also a big issue for some of my projects.
    I have not tested it but maybe this workaround works:
    Maybe this workaround helps Unity developers to track down the bug and fix it?

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.