Quantcast
Channel: Questions in topic: "build"
Viewing all articles
Browse latest Browse all 4084

Android permissions requested only from cloud build

$
0
0
I found a strange behaviour with Android runtime permissions and Cloud Build. I have been developing my game for about 6 months now, and it never asked for any permissions. A couple of days ago I installed the latest build from Cloud Build and it asked for two permissions on startup: external storage and phone. I know how runtime permissions work on android, and after looking around in the forums I pretty much found why Unity is asking for these two, it was just strange that it never asked for these permissions in the last half year. To make it even stranger no permissions are asked if I build the game from the Editor. I thought that it might be that the Cloud build is using other Unity version, or android target api level than the editor, but even after setting those up (specifiing the android api level instead of using the newest available, and explicitly stating the Unity version in could build config) the permissions are only asked when using apk build in cloud build. Does anyone have any idea what can be going on?

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>