Changing Structure breaks Blueprint and DataTable

I think I found a fix. My experience was with an array of the changed structs being iterated over using a forloop and then feeding into CreateWidget nodes which had the struct exposed.

  1. Find the nodes that aren’t compiling and disconnect the struct as an input.
  2. Hover over that struct input and you should see Fallback Struct listed (see image below). This is your culprit. If you don’t see this, you are probably okay to reconnect the node.
  3. Now that you know which BP is causing the problems, navigate into that BP.
  4. Within that BP, delete the struct as a variable.
  5. Create a new variable that is the struct type you desire and replace all the references (to include in the other BPs as well).
  6. Recompile. Your game should be playable again and the problem fixed.
  7. To test: save, then reboot UE. You should not see the errors you once experienced.

I hope this helps everyone!

hepling-fix-structs

1 Like