Struct Compile Error

I’ve been working on a mod for Squad for a little while and I was experiencing a ton of issues when working with Structures. Stuff would spontaneously reset, editing entries were a pain as the dropdown menus would close after every edit.

However that information should be redundant and is probably related to their SDK. The issue I’m having is that the editor’s crashed on me a 2nd time when using one of my structs in a BP - causing the struct to become corrupt and failing to compile.

I’ve tried removing all references to that BP but I can’t seem to fix this error.

Is there a way I can manually compile it somehow to get rid of this error? I’m not sure if this is a common error in UE4 or if it’s due to the SDK itself but the struct I made is a bit “complex”.

The struct has an array of another struct that contains some data about weapons.

It’s the 2nd time it’s done this and they both happened when working with my widget which makes use of this struct. Both times they’ve gotten corrupted.

Any help would be appreciated. :frowning:

1 Like

This happens to be pretty much every time I make a change to a struct. The only way I know to fix it is to close everything and re-open it.

Add another variable to the struct that is crying, that fixed it for me.

3 Likes

@DuneGames Thank you so much

1 Like

Unironic Lifesaver.

1 Like

@DuneGames Thx. Saved the day <3

1 Like