x

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 data stored in wrong location

UE4 does not save it's data in the program's data folder. Instead it stores it in a folder in the root directory separate from the game.

Should store data in: /Android/data/com.[comany].[project_name]/ Actually stores it in: /UE4Game/[name_of_uproject_file]/

There are many problems with doing this:

  1. It requires an extra permission. (Makes customers suspicious and rightly so.)

  2. It doesn't clean up on uninstall. The files stay there and you have to use a file manager to remove them. I discovered >2000 files in that folder from games that have been uninstalled.

  3. Problems persist even after reinstall. Side effect of #2. Asking a customer to install a file browser to remove a corrupted save file is not ideal. (Actual problem that I am facing)

  4. Other apps can access the files. This may or may not be desired but should not be the default because it's insecure and prone to error if they are unexpectedly modified.

This is essentially the same as asking for nearly full admin privileges on windows just to run a game.

The addition of runtime permissions in 4.16 sounds like a step in the right direction. Hopefully it means that you have already fixed this as well but if not it would be an opportune time to fix this since you are already making changes.

Product Version: UE 4.14
Tags:
more ▼

asked May 19 '17 at 04:16 AM in Bug Reports

avatar image

pr4wl
69 7 16 21

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

1 answer: sort voted first

Hello Voren,

This can be resolved by checking the "Use ExternalFilesDir for UE4Game files?" checkbox in your Project Settings under Platforms > Android > APKPackaging.

more ▼

answered May 22 '17 at 06:49 PM

avatar image pr4wl May 23 '17 at 07:00 PM

Ah it looks like that's a new setting in 4.15 4.15

4.14 4.14

Looks like we might have to upgrade our project after all, we were avoiding it due to the changes to the bloom rendering making our game look extremely different. Will have to see if we can find some settings that will work. Thanks for the assist on this! I'll let the people in the other questions I've seen for this know.

(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