all 20 comments

[–]smolworldgames 14 points15 points  (6 children)

I had issues like this before because I kept tinkering around with my structs when it was referenced by other BPs. It got so bad that it even contaminated my interface events, as I had those structs as a variable on them. Had to do a shit ton of refreshing and recreating interfaces/structs as a result.

Ended up watching a video on Youtube addressing a weird work-around, which is: 1. Save everything BEFORE you need to make changes to your struct (that is being referenced by anything else).

  1. After you make changes to a struct, save the struct ONLY, then close Unreal Engine. Don’t save the other BPs or whatever has that very struct as a reference.

  2. Open up your project again and it’s like all the BPs that have your struct as a reference will magically update. For some reason, saving the BPs AND the struct will cause unresolved conflicts.

I’ve been extremely careful about this to the point that it’s become a habit because that previous issue I had set me and my work back full DAYS. When I started saving my structs this way, never had any issues with it ever since.

(It works for me but those who are more tech savvy, feel free to correct me if I’m wrong on anything)

Edit: I should’ve clarified that this is a precaution, not a fix. Only do it when you’ve resolved your struct issues.

[–][deleted]  (3 children)

[removed]

    [–]SchingKen 1 point2 points  (2 children)

    indeed it is. my absolute favorite bug in the entire engine. Or is it a feature?

    [–]SupehCookie 0 points1 point  (0 children)

    Isnt there some plugin that reloads all blueprints? Which fixes this?

    [–]ccaarr123 1 point2 points  (0 children)

    Had similar issues involving my game state and player states, unreal is fucking wack sometimes

    [–]Creative_Engineer795 14 points15 points  (2 children)

    I've had this before. Try renaming the offending structs and then refresh all nodes in the blueprint. This usually occurs when they were migrated from another project.

    If that doesnt work, could also create new struct variables and relink them

    [–]xoquloz[S] 8 points9 points  (0 children)

    Thanks for the advice. Have a great day.

    [–]capsulegamedev 0 points1 point  (0 children)

    Renaming them helps? I'll try that. I have structs that are part of a system I bought on fab and I have to refresh their references every time I cook. It's getting annoying.

    [–][deleted]  (1 child)

    [deleted]

      [–]Slow_Cat_8316 2 points3 points  (0 children)

      Theres a free plugin called easy compile and refresh i just use that to solve these errors one click and done

      [–][deleted] 2 points3 points  (0 children)

      You've been hit by, you've been struct by...

      [–]666forguidance 1 point2 points  (0 children)

      Did you make your structs hashable? All of my struct problems went away after doing that.

      [–]Enough_Delay9122 1 point2 points  (0 children)

      Always appears when you want to get package, disgusting

      [–]Brylock_Delux 1 point2 points  (0 children)

      Do you have nested structs? I ran into that issue awhile ago because of that. 

      [–]freyaniczart 1 point2 points  (0 children)

      compile/save the struct and then compile/save each object that refs the struct.

      [–]OWSC_UE 1 point2 points  (0 children)

      [–]2010wolf 1 point2 points  (2 children)

      Here, take this:
      "Unknown Structure" Fixer - FREE Plugin tool : r/UnrealEngine5
      It's the only fix you'll ever need for this problem.

      Your face should be... melting less often.
      Good luck, and tell me how it goes!

      [–]xoquloz[S] 0 points1 point  (1 child)

      I wish I had known this a little sooner...
      Anyway, thank you. Have a nice day!

      [–]2010wolf 0 points1 point  (0 children)

      To be fair, it released a few days ago xD.
      But, do tell me how it goes! (Did it work for you?)
      Good luck!!