Hello everyone,
I am creating an Android game (Apk+Obb file) in Unity version 2019.4.0f1 and it’s not asking for storage permission on startup. This creating problem in some devices and game stopping in start screen. Then users need to manually grant permission from settings to solve this issue. Previously i created an Android game with Unity 2019.1 and there were no bug that time. please tell me how to solve this problem. Thanks.
I already asked this many times in different forum sections but no one replying. I just want to know if this is a bug or i am doing anything wrong?
Are you sure that permission asks for consent? I think it used to ask, but then it is now considered among the safe-and-common permissions. I’ve never asked for it but I certainly write files to disk in my games.
Attach and run adb logcat and see if that’s really the exception you’re actually getting.
This is not for consent. It actually grant permission to read obb file in internal storage if user accept it. Because my game not asking for storage permission, users manually need to grant it. otherwise game won’t work in some devices.
Like I tested it in My Android 7 and game working fine without permission, but in my Android 6 I need to manually grant permission from settings, otherwise game is not working.
I even created empty project but it still not asking for permission.
Game is already published in Google Play and I can see some 1 star ratings because of this problem. I already submitted bug report and asked multiple times in this forum, still no reply for solution.
Actually I didn’t able to solve this problem. I just succeeded to compress my game under 100 mb and I used only Apk format. And in only Apk format there is no problem. Anyway Apk+Obb format will no longer support in Google Play, but only .aab format. You should already start using and learning about this.