Unable to save to Android

I have found some other threads on this issue, but none of them seem to resolve it.

I have set up my blueprint to save the player’s top score. It works fine when I test it in the editor. A .sav file is automatically created in the correct directory and I am able to recall the data stored in it successfully.

However, when I package the game and install it on my Moto G using the .bat file, it does not seem to save or load the data. Looking through the directories on the phone, I am unable to find a .sav file. But I am unaware as to how the file is stored on Android (I cannot find any documentation on this).

Both my Slot Name and User Index are set beforehand, and like I said, it works fine when I test it in the editor.

I’m wondering if it has anything to do with the Android manifest, but it seems that the manifest that Unreal creates is adequate.

And ideas as to possible causes?

Can you post a screenshot of the Blueprint?

The first two screenshots show how the data is being saved. It is located in my player class.

The second two show how it is being called, which is in the level blueprint.

Both the Slot Name and the User Index are default values in the savegame blueprint, which is called savescore.

It seems like the cast is failing, but I am not sure why because it works fine in the Editor. It is almost as though it can’t write to the android device.

bump. I recently heard that there were new security features in android 4.4 (which my phone runs) that cause problems when saving to internal storage. I’m still doing research, but it could be the possible root of the problem.

It seems I solved it myself. I had followed the documentation, but not realizing that doing so was causing me to save a blank save file every time I started the game. I fixed it by checking for a save first and running that through a branch to either load or create the save file.

Can you post a screenshot of the your new Blueprint?