I have an “item” struct. ID, name, stats, etc etc…
First problem: My item BPs randomly had their structure reset. I don’t have many items yet, but plan on having hundreds. If all of them were to reset that would be totally devastating. I don’t know what caused it, but I think modifying the structure is what did it.
Second problem: Every time I launch my project, all of my structure array pins get unlinked. All of them. Again, this started happening after I modified the struct.
What can I do to prevent these two problems? Can I never modify my struct? And how can I fix my current problem? I read a post with someone who can a similar problem, and the solution was to delete the array nodes and recreate them… The problem is I just have so many. And also I tried deleting one and remaking it, and it is still unlinking. Would I literally have to do this with every instance?
I remember last time I was working with UE4 I just quit due to all the struct problems I was having, and now they’re back again.
Any help would be appreciated
EDIT:
So I fixed the corruption issue by deleting the array variable entirely and recreating it… And then I went around relinking everything (it’s for inventory, so it spans multiple blueprints and takes awhile).
Then I went to add another structure element… And now everything is broken again, same as before. Everything got unlinked.
This is either a bug or I am doing something wrong. The obvious solution would be to “complete” the item structure, but that isn’t necessarily possible as the things I am adding are things I haven’t thought of.