Adding new parameter to struct breaks game

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

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.

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.

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.

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