I updated the Unity Editor to version 2019.1.0f2 (from 2018.3.12f1). Now when I re-build my app (no changes, just a re-build with the new Unity version) and publish it to Google Play I get a warning about a new requested right "CHANGE_WIFI_MULTICAST_STATE". When investigating the AndroidManifest file, I can see that "android.permission.INTERNET" and "android.permission.CHANGE_WIFI_MULTICAST_STATE" by some reason has been added. Why are those rights suddenly required without me changing anything in my app? Will users have to acknowledge these rights, and if so - what happens if they deny? Edit: In addition, Google Play warns about a number of devices that are no longer supported by my "new" version. The reason for no longer being supported is the lack of support for "android.hardware.wifi" (?) What is this? I couldn't care less for WiFi, this is a local app that require no network access at all. Edit: Is this the "fix" that cause this? "Fixed in Unity 2019.1" If so - why does it require CHANGE_WIFI_MULTICAST_STATE when there's nothing in the app that use WiFi? https://issuetracker.unity3d.com/is...oid-slash-ios-devices-when-acting-as-a-client
I've experienced the same thing and am also curious about why this permission is required all of a sudden
The code says that the permission is being added when: - UnityEngine.Networking.NetworkTransport::SetMulticastLock method is used - or UnityEngine.Networking.NetworkDiscovery type is used. I'm not sure why the latter was added. Please submit a bug report, attach a project and report the case # here.
Hello guys, If you still having this issue. I had the same on my side, but after some investigation, I found that Unity 2019 has "Multiplayer HLAPI" package installed by default. I've removed it and additional permission has gone. Hope it helps.
Unfortunately the solution by removing "Multiplayer HLAPI" package doesn't worked for me. I'm with Unity 2019.1.6 and If I found fix I will write again...
If there is anybody who removed the package "Multiplayer HLAPI" and the permissions are still in the build, should try this: Go to your Android.manifest and add: <uses-permission android:name="android.permission.BLUETOOTH" tools:node="remove"/> <uses-permission android:name="android.permission.BROADCAST_STICKY" tools:node="remove"/> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" tools:node="remove"/> don't forget to add xmlns:tools="http://schemas.android.com/tools" to your xml schema. That's completely worked for me
So what's the latest news regarding this creeping permission? My cloud builds are useless due to this problem. Could we get an official response regarding when they will fix this and how?
I'm having the same issue. I removed the Multiplayer package but builds are still having the CHANGE_WIFI_MULTICAST_STATE permission. At least from Unity Cloud Builds they do.
Go to Unity. Look at your Project window where you see all the files that belong to your project. Navigate to packages and find multiplayer hlapi. Right click, open file location. Delete it. Build again.
o brother thank you. You saved me from QA team. I have no words to thank you. you are legend, The Guru of Unity. Unity should hire you instead of Yury-Habets.
Any news on this? I need the Multiplayer HLAPI but I don't use any of the API calls that add the permission request according to the documentation: - NetworkDiscovery - NetworkTransport.SetMulticastLock Edit: I've filed a bug report, case ID 1216963. I'm running Unity 2019.2.15f1
Remove from <Project>/Packages/manifest.json and restart unity. It will not showing in Project/Packages
Still happens in Unity 2019.4.35f1 LTS. Can confirm that the solution is to remove the "Multiplayer HLAPI" package.
I filed a bug report on that and here's what I've been told: So if there are any calls to a function that's part of the package's API are made, the permission will be added, even if that function doesn't require that permission.
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" tools:node="remove" /> Add in Manifest File