This message appears when starting the game and when i click on settings and look to give permission their is no permission asked. Seems to me that at Startup it keeps asking for WRITE_EXTERNAL_STORAGE permission even though when i have not asked for it in Extra Permissions. When i look in the AndroidManifest file i see WRITE_EXTERNAL_STORAGE permission requested in user-permission and meta-data GameActivity.StartupPermission. Its strange as few weeks back when i was quick launching as well as packaging it was working perfectly fine. These request message was not prompted. But now i can find a solution to this. Have already tried for over 2 weeks. Any of you know what’s the problem the solution to this please help.
Also my game just saves things like high score in the Game save blueprint which uses internal storage and should not have triggered any storage requests.
Yes i have enabled Use ExternalFilesDir. But still i am getting that permission required message. Also it seems like the Package game data inside .apk value is getting overridden. I have enabled it in project settings but in the android manifest file i see its value false.
Hey! so after 3 weeks i finally got the solution for this problem using unreal engine 5.5.
-Now to start with the WRITE_EXTERNAL_STORAGE permission which is partially deprecated from api level 29 i believe and officially from api level 31.
-And this permission is by default added sometimes by unreal engine into the AndroidManifest.xml file. Hence the " Permission Required: You must approve this permission in app setting: Storage" message.
-Reason we can not see this permission being asked in settings is because its deprecated. Also if you need to use the external storage you can do so with new permissions available for you requirements.
-Fix:
-Create a ManifestRequirementsOverride.txt file inside [YourProject]\Build\Android.
-In this file type
-This makes the permission request to only devices with api level under 28. And does not ask permission to all above api levels.
-Now their are other important permissions to be given. That you also have to add to the ManifestRequirementsOverride.txt. You can find the permission required by the project in the AndroidManifest.xml file inside [YourProject]\Intermediate\Android\arm64.
-Now to work in quick launch the build must be set to development build and for packaged file to work you must set to the shipping build.
Also external storage permission can be added to you Manifest by default because of some thing you used inside you blueprint or c++ or throught some plugins.
Hope this works for you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.