Search Issue Tracker
Won't Fix
Votes
14
Found in
5.1.1f1
Issue ID
706569
Regression
Yes
[Android] Several unnecessary permissions are added to app manifest
In Unity 5.1, the following permissions are added to AndroidManifest.xml even when these permissions are not required for the app.
- android.permission.INTERNET
- android.permission.READ_PHONE_STATE
- android.permission.ACCESS_NETWORK_STATE
In the previous versions, these permissions are added only when required.
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
mylastggColto
Nov 09, 2017 10:38
Hello!
Unity is adding these three permissions
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
as soon as I put a custom AndroidManifest.xml in the project to be merged.
Steps to reproduce:
- Create new Unity project
- Add this manifest (Plugins/Android/ManifestTest/AndroidManifest.xml)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.manifest.test" android:versionName="1.0.0">
</manifest>
- Deploy on device
- Unity has added above three permissions for no reason since this is a completely blank project and I'm not using any third party library or dll.
---
Considerations:
- I'm using Unity2017 Free, I'll try with a licensed Plus version when I get the chance
Can you please advice?
Ewanuk
May 29, 2017 19:01
Pretty scummy to force hardware stats collection...
sampenguin
Nov 22, 2016 04:17
Why won't this be fixed? Or can someone please point me to the setting in Unity Pro that disables the generation of these permissions in an empty project?
movra
Aug 15, 2015 08:50
Explanation is here:
"For 5.2 release, READ_PHONE_STATE is fixed. However, INTERNET and ACCESS_NETWORK_STATE are related to hardware stats collection and can not be disabled unless you are a Pro user." - sschan
http://forum.unity3d.com/threads/unity-5-1-adds-android-permission-read_phone_state-automatically-how-to-remove-it.333431/page-2#post-2226212
PapaPoutine
Aug 12, 2015 17:28
I can not release to, 5.1 is like vista, hope 5.2 will be better !!
62316e
Aug 02, 2015 22:48
Any updates?
62316e
Jul 31, 2015 12:47
Any updates?
62316e
Jul 30, 2015 11:50
Would it be possible to get an explanation for the Won't Fix status?
PixelEnvision
Jul 24, 2015 15:18
I'd also appreciate an update regarding won't fix status...
sandbaydev
Jul 21, 2015 16:18
my game has no permissions when I compile it using 5.0.3f2.
when I compile it using 5.1.0f3, it requires permissions (100% absolutely the same source code):
- android.permission.INTERNET
- android.permission.READ_PHONE_STATE
- android.permission.ACCESS_NETWORK_STATE
Why "Won't fix"?