Search Issue Tracker
Fixed in 5.4.2
Votes
0
Found in
5.4.0f3
Issue ID
821688
Regression
Yes
[Android] Input.location.isEnabledByUser returning wrong value when location service turned off on the device
Steps to reproduce:
1) Download attached project 'LocationServiceTest.zip' and open in Unity.
2) Open scene 'TestScene'.
3) Make sure location service turned off on the device.
4) Build and run project on a device.
5) When services will ask access to location click on 'Allow'(remember that location service is turned off on the device)
6) In logs check that Input.location.isEnabledByUser returning True instead of False.
Expected result : Since location service is turned off on the device value suppose to be 'False'.
Actual result : location service gives you value of 'True'.
Reproduced with: 5.4.0b21, 5.4.0p1, 5.5.0a5
Not reproduced with: 5.3.6p2
Comments (1)
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
- MSB3277 conflicts between different versions of "System.Numerics.Vectors" when using DotNet 11.0
- "Cannot create Settings Providers for: CreateAllChildSettingsProviders" error is thrown in the Console after fixing PolySpatial visionOS package validation error after installing XR Interaction Toolkit VisionOS Sample
- "Unable to find style 'VideoClipImporterLabel' in skin 'GameSkin' " warning thrown when converting the Video Clip Inspector to a floating window in Play mode
- Unclear "Failed to start primary listening socket" error when launching the Multiplayer Play Mode second player and many Unity instances are running
- The cogwheel button in the Build History window gets distorted when the Build History window is resized or options are ticked in the toolbar
Nimdanet
Jun 25, 2019 22:02
Not reproduced with: 20181.9f2
maybe is fixed