# Game saving issue and failed packaging (android)

**URL:** <https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [December 7, 2024, 7:07am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031 "2024-12-07T07:07:10Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ehsan\_Shamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehsan\_Shamsi](https://forums.unrealengine.com/u/Ehsan_Shamsi)\
**Post date:** [December 7, 2024, 7:07am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/1 "2024-12-07T07:07:10Z")

</div>

Hi noob ⚠

I’m trying to create a save game feature for a game in meta quest 3.

I defined a structure of what I want to save and created GameSave blueprint and called that structure inside the blueprint.

then I called GameSave in my pawn and everything works fine when I’m in preview mode.

Here is the code in my pawn:  
[load and save posted by anonymous | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/dxty5nx-/)

now the thing is when I try to get a package it fails getting me this error:

> PackagingResults: Error: FStructProperty::Serialize Loading: Property ‘StructProperty /Game/SamplePTRL/save/VirsualBaySaveData.VirsualBaySaveData\_C:all\_objs.all\_objs’. Unknown structure.

what do you think to be the issue here? thanks in advanced.

---

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [December 7, 2024, 9:28am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/2 "2024-12-07T09:28:23Z")

</div>

Usually leftovers from a deleted or rename variable names.

Open your save bp `VirsualBaySaveData`, double check you can recompile it.  
Then from your content browser, right click on your save bp, do a Fix Redirectors.

---

<div class="post-metadata">

**Author:** ![Ehsan\_Shamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehsan\_Shamsi](https://forums.unrealengine.com/u/Ehsan_Shamsi)\
**Post date:** [December 8, 2024, 4:56am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/3 "2024-12-08T04:56:05Z")

</div>

thanks for your time. Actually, I can recompile it. no issues. everything works fine when in preview. It’s just the android packaging process that fails. I can even do a vulcan mobile preview.

About the fix directory though, I didn’t find a specific menu item on right click menu. what am I missing?

---

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [December 8, 2024, 6:04am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/4 "2024-12-08T06:04:09Z")

</div>

This one usually remove any leftover references

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/3/e33de1616319dae74cfb675cb309e837a2f1c5ca.png)

You can also delete cache shipping/cooked for the android, it possible it re-using some old files previously cooked.

---

<div class="post-metadata">

**Author:** ![Ehsan\_Shamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehsan\_Shamsi](https://forums.unrealengine.com/u/Ehsan_Shamsi)\
**Post date:** [December 8, 2024, 6:43am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/5 "2024-12-08T06:43:01Z")

</div>

oh thanks. it’s on the folders. my bad 🙂 I did a right click on the save bp itself.

ok, now I fixed the redirectors and still nothing.

how can I delete the caches you mentioned?

anything else I might have missed?

---

<div class="post-metadata">

**Author:** ![Ehsan\_Shamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehsan\_Shamsi](https://forums.unrealengine.com/u/Ehsan_Shamsi)\
**Post date:** [December 8, 2024, 6:51am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/6 "2024-12-08T06:51:18Z")

</div>

![Screenshot (19)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/8/2580cc7c195fc5432c357ed42b5fbfc74edd50f7.png)

in the last line something is blank. the 2dashes as you see. could it be something that I have to take care of?

also, in the “all devices” sections i got 2 errors. I had these before and they didn’t create any issues but still there is always a chance. what do you think?

---

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [December 8, 2024, 7:15am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/7 "2024-12-08T07:15:28Z")

</div>

I doubt the AutoSdk is needed, NDK r25b should be enough.

For the cache, you will need to delete the folder Intermediate and usually cooked files are located in the Saved directory. I believe the folder Cooked, Staged Build and Shaders. Or just delete the folder Saved if it not important.

---

<div class="post-metadata">

**Author:** ![Ehsan\_Shamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehsan\_Shamsi](https://forums.unrealengine.com/u/Ehsan_Shamsi)\
**Post date:** [December 8, 2024, 7:48am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/8 "2024-12-08T07:48:22Z")

</div>

![Screenshot 2024-12-08 111630](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/9/a295a5c6937d9658988dd9ef1b9ec1ebe7fac260.png)  
these 2 you mean?  
I’ve already deleted them a couple of times before and still no luck

is there any other cache elsewhere? let’s say in windows temp directory?

---

<div class="post-metadata">

**Author:** ![Ehsan\_Shamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehsan\_Shamsi](https://forums.unrealengine.com/u/Ehsan_Shamsi)\
**Post date:** [December 8, 2024, 7:54am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/9 "2024-12-08T07:54:00Z")

</div>

![Screenshot 2024-12-08 112202](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/9/0f9e0023af8e6ae8f0472877a030f0b8ce1dd9b1.png)  
daaaaaaaaaaamn! found it. this little son of a gun was the problem!! I enabled the tick and voila! I got the package 😅

thanks for your time though.

---

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [December 8, 2024, 9:31am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/10 "2024-12-08T09:31:07Z")

</div>

Never knew that could have cause that 😬, glad it work now 😇

---

<div class="post-metadata">

**Author:** ![Ehsan\_Shamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehsan\_Shamsi](https://forums.unrealengine.com/u/Ehsan_Shamsi)\
**Post date:** [December 8, 2024, 10:45am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/11 "2024-12-08T10:45:37Z")

</div>

I’m shocked too!  
actually, I asked chatGPT and it said there could be something wrong with the variable inside the saveBP. I dug the variable a little bit and found this option. Hovered on it and a tooltip appeared saying sterilizing save and bam it worked!  
Thank you so much as you helped me rule out all the other possibilities. 🙏

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [January 7, 2025, 10:45am UTC](https://forums.unrealengine.com/t/game-saving-issue-and-failed-packaging-android/2179031/12 "2025-01-07T10:45:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
