# Fix structures resetting after restart (Solved)

**URL:** <https://forums.unrealengine.com/t/fix-structures-resetting-after-restart-solved/1754613>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, bug-report, editor\
**Created:** [March 15, 2024, 8:06pm UTC](https://forums.unrealengine.com/t/fix-structures-resetting-after-restart-solved/1754613 "2024-03-15T20:06:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrPetrakiev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mrpetrakiev/32/968103_2.png) [@MrPetrakiev](https://forums.unrealengine.com/u/MrPetrakiev)\
**Post date:** [March 15, 2024, 8:06pm UTC](https://forums.unrealengine.com/t/fix-structures-resetting-after-restart-solved/1754613/1 "2024-03-15T20:06:36Z")

</div>

"After encountering and successfully resolving the issue, I wanted to share the solution in hopes of assisting others with similar challenges.

**Solutions:**

(The idea for this solution I found [HERE](https://forums.unrealengine.com/t/blueprints-do-not-save-changed-values-reset-after-engine-restart/1584695/3))  
**Best Approach** (In my opinion):

1. To resolve this issue, you can prompt the engine to refresh the structure by renaming the structure to something different and then reverting to normal, and then restarting the engine. Simply renaming it back afterward should suffice, as the goal is to force the engine to refresh the structure.

**Possible Alternative Solution** (In my opinion):  
2. I encountered a similar problem previously, which was resolved by restarting my PC. However, this issue only manifested when attempting to package the project, suggesting that restarting may be another effective solution.

**Less Preferred Method** (In my opinion):  
_(Note: This solution addresses the problem for individual structure variables in blueprints. You’ll need to repeat this process for each structure child variable within every actor utilizing them.)_

(I found this solution [HERE](https://forums.unrealengine.com/t/struct-data-resetting-to-default-values-on-editor-restart/1224863))  
3. Temporarily change the blueprint containing the structure variable to replicate (if it’s already set this way, change it to something else temporarily). This action aims to prompt the engine to refresh the variable structure. After restarting the engine, your data should appear in the structure variable, allowing you to revert the changes made to the replication settings.

**Identifying the Issue:**  
If you’re experiencing this problem, you’ll likely encounter errors in the engine Output Log (Console) indicating mismatched variables/values within the struct variables."

---

<div class="post-metadata">

**Author:** ![WolfTechRob](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wolftechrob/32/1032282_2.png) [@WolfTechRob](https://forums.unrealengine.com/u/WolfTechRob)\
**Post date:** [May 23, 2024, 8:40pm UTC](https://forums.unrealengine.com/t/fix-structures-resetting-after-restart-solved/1754613/2 "2024-05-23T20:40:14Z")

</div>

Just here to confirm the same bug and the same work around worked.

> [@Blueprints do not save changed values | Reset after Engine restart](https://forums.unrealengine.com/t/blueprints-do-not-save-changed-values-reset-after-engine-restart/1584695/4):
>
> Thanks for posting the error to find a solution. I am confirming that switching to Replicate, from not replicating, for my struct variable solved my issue. To clarify, my issue was that my struct values were resetting when I restarted the project. Now they don’t! Thanks!
