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'
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Theby
Jan 30, 2017 13:48
I really hope this gets address soon. My whole project is based in GPS location.
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.
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."
(https://forum.unity3d.com/threads/5-5-released.443545/page-4#post-2932911)
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.
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!
ASPePeX
Jan 26, 2017 11:20
Broken in 5.6.0b5 as well.
ASPePeX
Jan 26, 2017 10:23
Still broken in 5.5.1f1 and 5.4.4p2.
alecsandru95
Jan 25, 2017 17:29
Does anyone know if they fixed it in 5.5.1?
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.
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: https://forum.unity3d.com/threads/gps-crash-android.420397/#post-2906895
Maybe this workaround helps Unity developers to track down the bug and fix it?