# I will venmo you $100 if you can answer this

**URL:** <https://forums.unrealengine.com/t/i-will-venmo-you-100-if-you-can-answer-this/483638>\
**Category:** Mobile\
**Tags:** loading, unreal-engine, iOS, packaged-game, question\
**Created:** [May 19, 2021, 10:02pm UTC](https://forums.unrealengine.com/t/i-will-venmo-you-100-if-you-can-answer-this/483638 "2021-05-19T22:02:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnKentFX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/johnkentfx/32/569534_2.png) [@JohnKentFX](https://forums.unrealengine.com/u/JohnKentFX)\
**Post date:** [May 19, 2021, 6:08pm UTC](https://forums.unrealengine.com/t/i-will-venmo-you-100-if-you-can-answer-this/483638/1 "2021-05-19T18:08:47Z")

</div>

I actually wonder if this is a bug.

If you use a UMG widget text to show GetProjectSaveDirectory in a shipped title the text widget will read “/MyGameName/Saved/”

In a normal title, LoadGameFromSlot looks in “MyGameName/Saved/SaveGames/” So one would assume If you append “SaveGames/” to the GetProjectSaveDirectory and store files in that directory the LoadGameFromSlot node would be able to find those files. Unfortunately it cannot.

Is that simply a bug?

---

<div class="post-metadata">

**Author:** ![JohnKentFX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/johnkentfx/32/569534_2.png) [@JohnKentFX](https://forums.unrealengine.com/u/JohnKentFX)\
**Post date:** [May 19, 2021, 10:02pm UTC](https://forums.unrealengine.com/t/i-will-venmo-you-100-if-you-can-answer-this/483638/2 "2021-05-19T22:02:09Z")

</div>

It would seem very few people know what the folder structure looks like in a packaged for shipped iOS application.

SaveGameToSlot and LoadGameFromSlot use a location on disk when shipped that is different from packaged for dev.

In dev it looks like “…/…/…/MyGameName/Saved/SaveGames/files.sav”

In shipping a conversion takes place where “…/” becomes “” \<-That is literally nothing, it clips the path. BUT putting files in the theoretically clipped location "/MyGameName/Saved/SaveGames/ " is not a valid path, files saved there cannot be found.

However, the game is storing files SOMEWHERE I can confirm save and load work while the game is running but I can’t figure out where because the node LoadGameFromSlot cannot find files placed in the following directories:

“file.sav”

“/file.sav”

“/Saved/SaveGames/file.sav”

“/BundleIDName/Saved/SaveGames/file.sav”

“SaveGameDirectory Node output/file.sav”

“PersistentDownloadPath Node output/file.sav”

First person that can get UE4 to print the directory the app is attempting to Save and Load from in a packaged for shipping title will get $100 venmo’d to them today.

---

<div class="post-metadata">

**Author:** ![freaknbigpanda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@freaknbigpanda](https://forums.unrealengine.com/u/freaknbigpanda)\
**Post date:** [May 19, 2021, 10:47pm UTC](https://forums.unrealengine.com/t/i-will-venmo-you-100-if-you-can-answer-this/483638/3 "2021-05-19T22:47:54Z")

</div>

On iOS there are only a couple directories that apps are allowed to write to, apps are sandboxed and can’t write anywhere. I think probably Unreal would be writing the saves to the documents directory (if you aren’t using iCloud anyways). You can get the path to this directory using URLsForDirectory:inDomains:, also try searching the engine codebase for URLsForDirectory or related file system calls and you might be able to find where they are saving it.

---

<div class="post-metadata">

**Author:** ![TTF\_eric1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TTF\_eric1](https://forums.unrealengine.com/u/TTF_eric1)\
**Post date:** [July 26, 2023, 3:13pm UTC](https://forums.unrealengine.com/t/i-will-venmo-you-100-if-you-can-answer-this/483638/4 "2023-07-26T15:13:18Z")

</div>

Did you ever find the answer to this?  
I think I’m hitting this issue with my shipping app.

I can read/write to the PersistentDownloadDir in my app and with the iOS Files app in a Development build.  
But in a shipping build there seems to be separate directories depending on if you try to access it from the app or from the iOS Files app. So if I place a file into PersistentDownloadDir from the app then I can’t see that file from the Files app and vise-versa.

This works fine in the 4.27 version of my app.

thx-e
