Hi People, Hope you’re doing great.
I have packaged my game for android and installed in my phone but save the character’s stuff and loading doesn’t work. Every time I make changes into my character and load it, the changes are reverted. The save and load system although works in editor.
What could be the issue?
Could it be a permissions restriction on file write of the device? (Most phones and tablets have to ask if they can write data to folders).
Maybe your device is actively denying you this operation?
Well, Can’t say anything about that. I’ll try to build it for PC. Let me see if it works for PC.
Hey, I tried building for PC and saving and loading worked there but it’s not working in mobile although I allowed all permissions.
What could be the issue?
Try the steps in this youtube vid. It seems rather fresh and should work with newer versions of android
Just in case the YT video disappear in the future
Project Settings => Android
- Use external filesDir for unreal files (check) (not putting in exact description slightly different ue4 & ue5)
- Extra Permission (e.g android.permission.INTERNET)
click [+] x2 and paste in
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_EXTERNAL_STORAGE
Hi Adeel,
I want to mention that if you plan to release your app on the Oculus platform (applab) you may run into trouble using READ_EXTERNAL_STORAGE since it’s “Restricted”
You may be able to just enable Use ExternalFilesDir
Cheers
Thank You guys, Let me see if these things work.