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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
wiz-japan
Apr 10, 2018 08:57
This is information sharing.
It also occurs in Unity 5.4.6 f 3.
damithcst
Jun 20, 2017 14:14
it fixed in version 5.6.1 f1 personal.
ASPePeX
Feb 27, 2017 10:32
Latest regular release 5.5.2f1 works as well.
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
H-Alex
Feb 23, 2017 15:32
Working confirmed in 5.5.1p4
ASPePeX
Feb 17, 2017 23:42
5.5.1p4 is out and works (https://unity3d.com/unity/qa/patch-releases).
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
ITSTH
Feb 14, 2017 19:41
Same here. Seems to work with 5.6.0b8.
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.
SpudRat3
Feb 14, 2017 07:01
Wow. This is really getting annoying.