Background
I’ve been having this issue for a while, working in Blueprints, but I recently decided to try and migrate my files from one project to a new one, as I wanted to move around and delete unnecessary files.
When I opened the file, my structs were broken. I had a few enums within the structs that became converted to bytes, which broke the structs.
I also use one larger struct as a parent to all the other structs (I have 8 sub structs in total, this is necessary otherwise I’d have hundreds of variables in one single struct)
A few times my editor has crashed when editing either parent or child struct.
The Error
The current issue I’m having, after opening the project and having the struct declare the error where the enums got converted to bytes, the blueprints containing my structs, it has me delete all the references to now broken structs. When I go back in and try and fix the errors, re-connect all the now orphaned pins, at some point, (I’ve gone through the process multiple times, it seems to happen at random, and not connected to any particular reconnection of an orphaned pin) the editor will crash.
Upon this editor crash, every time I try and re-open the project, the editor will crash when I try and edit the component that all my structs are on.
Steps taken to solve
I’ve taken steps to solve this myself, like deleting the derived data cache, and the intermediate and saved folders. At the moment my project will open and I can open the component back up as I rolled back to a previous version of the file, however one that still has all the broken references that I need to fix.
EDIT: I’ve also migrated the files to a new project to see if the issue persists, which it does.
The structs are not nested within a box struct, as I can’t seem to make a data table out of a box struct, nor can I make a structure with a box struct in it, and give that box struct values within that base box struct.
(The dream would be to have a new type in the blueprints creation menu specifically for box structs, and being able to add new structs to the box right there)
in case I’ve lacked in clarity, here’s some images of how I have my structs set up.
Here is the parent struct
Example of one of the nested structs (lots of variables, which is why its super necessary to have a container)