Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Android 6.0 permissions - OBB mount.

Hi all!

I'm not sure if this is Unreal related question, or Android related, but still, we've approach a serious problem when deploying a game on some devices with API23.

First of all - from API23 the application must ask for any additional permissions (in form of alert for example). It should ask for an access to telephone, contacts, external storage etc. Thankfuly, we don't need any extra permission from the user for a game, right? Well, I was thinking like that but now we have some issues with Samsung Galaxy Sx family and with Nvidia Shield

At those devices the game simply cannot mount the OBB (I have an assertion on check in MountOBB method in AndroidFile.cpp)

The OBB file is located in the /storage/emulated/0/Android/obb/com.company.name/ directory.

When I enable the Storage permission in the app settings everything works.

When I request for the permission in the runtime using the requestPermissions method in Java everything works.

But still, reading OBB file from Android/obb directory, as far as I know, shouldn't require any additional permissions!

More, the issue occurs only on some of the devices we've tested:

  • Samsung Galaxy S5, S6, S7

  • Nvidia Shield Tablet

On devices from Nexus family everything works fine.

On those devices there was also a problem with pushing obb via the bat file from Binaries. The access to the (...)/0/Android/obb was denied and only (...)/0/obb directory was accessible. Still, reading from this directory requires READ_EXTERNAL_STORAGE permission. I was able to push obb files to the proper directory via windows explorer.

Even more mysterious - when I push files to the /storage/emulated/0 directory and then by using the internal file manager copy them to the (...)/0/Android/obb directory, everything works fine!

Long story short:

  1. Does the /storage/emulated/0/Android/obb/com.company.name directory requires READ_EXTERNAL_STORAGE permission to read?

  2. If no, then why on Samsung Galaxy Sx it can't read them?

  3. If yes, then are we really doomed to stick with the popup asking for permissions at the beginning of the game?

Product Version: UE 4.10
more ▼

asked Jul 12 '16 at 04:21 PM in Packaging & Deployment

avatar image

650 24 48 145

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


It's a Google Play thing. This is a new feature in Android 6.0 and higher: Apps built for Android 6.0 and higher will ask for permissions once you start using them. Find out more here.

more ▼

answered Jul 14 '16 at 07:34 PM

avatar image zompi2 Jul 15 '16 at 08:07 AM

And I've just found this gem (exactly mine issue): https://code.google.com/p/android/issues/detail?id=197287 It seems Android or Google Play has bugs itself :(

avatar image FollowMyStaR Mar 05 '19 at 01:13 AM

I have the same problem. If you solved the problem, can you share it with me?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question