This is my SaveGame function (execute at every changing the level)
and my LoadGame fucntion (execute when game starts)
My GameInstance funcion
Other settings:
I gave my app storage permission, but it still don’t work
What i need to do ?
This is my SaveGame function (execute at every changing the level)
Other settings:
I gave my app storage permission, but it still don’t work
What i need to do ?
Have you found a solution?
I have the same problem. Deploying the APK in developer mode, no problem. But once it’s tested on the Store, it doesn’t work anymore.
UPDATE : check the parameter “Use ExternalFilesDir for UnrealEngine files” in Project Setting solve the issue for me.
Hello!
I see questions about writing and reading save game files to scoped storage in development Android builds popping up all the time. I tried to come up with a possible solution in this post. Hope this will help those who encounter this issue in the future!
In short, Unreal tries to write save game files to UE4Game directory in the root of external storage, which does not work on Android 10 and higher. We should set bUseExternalFilesDir setting to true so Unreal uses more appropriate paths for storing its files.