# Adding new parameter to struct breaks game

**URL:** <https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862>\
**Category:** Blueprint\
**Tags:** corrupted-project, unreal-engine, editor, UE4, Blueprint, question, structs\
**Created:** [November 6, 2017, 10:29am UTC](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862 "2017-11-06T10:29:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [November 6, 2017, 10:29am UTC](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862/1 "2017-11-06T10:29:50Z")

</div>

Hi

I recently changed my working player struct to have one extra parameter. After recreating my widgets with the new player info, every time i reopen my project the displayed player info on my widgets break. How can i fix this issue?. Or is my project now corrupted…

- SamuelB

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [November 6, 2017, 10:37am UTC](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862/2 "2017-11-06T10:37:54Z")

</div>

when you changing something like structs or input parameters for functions, they usually broken. you can try to use Refresh nodes in blueprints context menu.

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [November 6, 2017, 10:44am UTC](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862/3 "2017-11-06T10:44:00Z")

</div>

I tried that, it does refresh the nodes, but when i make the changes, close and restart the project the same issue persist. That means everytime i relaunch the project, i would have to fix every widget over again.

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [November 6, 2017, 10:49am UTC](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862/4 "2017-11-06T10:49:24Z")

</div>

![219266-playerinfobug.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/8/23860631eeef8c6cca939de84dfb50edfd7ee15d.png)

A quick screencap of the issue, this also requires me to rename the event parameter. It wont let me name the parameter “pinfo”. It automatically set the name to be either “newparameter” or “p1info”.

Edit: this is what happens when i reopen the project after i just fixed it.

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [November 7, 2017, 12:48pm UTC](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862/5 "2017-11-07T12:48:20Z")

</div>

Well i guess the best answer is to not change/add any struct variables afterwards… I ended up opening a backup and redoing all implementations that had been lost.  
-samuelb
