Structure Variables get corrupted
This can randomly happen on compile, the variable using the structure will vanish in the Variables list, in the graph it will show up as greyed out/ not found. The error will say the variable has an invalid type. The most annoying thing about it that all links in blueprint to any structure inside that structure will be deleted, like where Break, Make and Set Members is used. UE4 will find the variable again when the Structure asset gets changed and saved again but the links are obviously not reappearing.
I had this happen occasionally in 4.13 and I hoped it would be fixed in 4.15 but there it happened again after ca 10 minutes working with it.
I had this happen mostly with one specific structure asset, I then had it happen with another structure at some point after I added a structure array into that structure. (Recreating this to instantly have the bug occur did not work though) Since both structure assets with which it happens have a structure array inside the bug is likely connected to that. I''m using both as a structure array with a structure array inside. The bug can happen without having changed anything in the structure asset, I could not find anything that triggers it other then that it happens sometime on compile.
This is a known issue, which you can view here:
You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.
answered Apr 05 '17 at 01:44 PM
Thomas G ♦♦ STAFF
Happening to me, found this page googling "structure no longer showing up as variable type." This is the second time this week we've had a structure completely break our project file..
answered Feb 11 '18 at 04:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here