"Unknown Structure" FIXER! - FREE Plugin Tool

Yes, we FINALLY have it!

This tool can easily BULK-FIX the “Unknown Structure” errors that appears when Cooking/Packaging your project, with only a few easy clicks.

Watch this tutorial to learn how it works: https://youtu.be/IqsSOiKnijE

My FREE Plugin Fab Page: https://www.fab.com/listings/fa599c9d-6c92-4917-ae4e-7a506f5e97a5

“”“Support”“”: Mindfull of Gems (Discord)


Benefits: (From what I tested so far…)

  • With version control, you don’t have to worry about re-directories, as this method does not create any. (Though you should still clean your project anyways.)
  • It uses the direct output log that UE5 itself spits out (When Cooking/Packaging), so I’m not doing any dark magic here.
  • Default values are not forgotten. (Unlike when renaming the struct… yes… that is the most popular method until now :skull: :skull:)
  • No, you don’t need to close/re-open the engine any more. (A step in the old “Renaming” solution. ^^^^)
  • It helps Juniors/Newbies to get used to the good practice of adding “Prefixes” to assets.
  • It’s good for your health! (generally speaking)

I only tested this on 2 projects, several times, and they worked every time.
If it doesn’t work for you (by some miracle) I’ll need a video recording of what has happened that led to this.

Oh right, If you haven’t seen the video yet… (You REALLY should)
I don’t refresh “ALL” BPs or Assets, but ONLY the ones that are affected. (From the Output Error Log)
So no, I’m not hijacking your CPU. (Unless this struct somehow was used in the entire project… in this case… you kinda deserve it fr :skull: )


Keep in mind, Engine made Structures are still… Volatile, they can still break your project… but this is for lazy bums like me. (or rapid prototyping, or whatever ““nice”” reason that can exist <3 xoxo <3)

The “Horror Story” about “Project Breaking” in question:

Yes… this was made entirely using Nodes, no custom C++ logic or code. (If you don’t count the Plugin Wrapper)
Yes… technically… a fix for this could’ve been made ages ago… :melting_face:
I wouldn’t have made this post if an actual solution was out there.

We got this fix before GTA6, what a world! :sob: :sob: :skull:


PS: I still need other users to try it, in case I made any major fk up somewhere.

DISCLAIMER: Look, this is my first plugin ever. I’ve USED it a ton and it worked perfectly for me every single time, but I’m still calling this “Experimental” just in case.

Now, just to be safe… Please back up your project or use Version Control before you try it.
Once you’re sure it’s safe for your specific project, you’re good to go.
Good luck!

1 Like

Fellow mortals, I must clarify something critical!

This tool DOES NOT fix this error below (Image).

This is an example of… what I’d personally call “Unidentified Structure”.


Here’s an example of how this may happen:
Say that you got some BP from a friend or online, and you simply copy-pasted it, or literally took the asset directly into your project.

If the BP was dependant on using a struct, it will try to look for it.
If it doesn’t find it… the code breaks like in the image.

But… if you HAPPEN to import the BP AND the structures it needs AND that structure is in the same path as your friend? (starting from /Content folder)…
Then this problem (Image) will not happen.


But anyways, this tool specifically fixes the “Unknown Structure” error that appears when trying to Cook/Package the project.

So… “Unidentified Structure” are a different matter, related to how you imported code/assets into your project (Which is kinda of like a “You” problem :skull: )
Based on your situation… you MAY need to re-make/import the struct asset, and then use it accordingly in the code where it’s missing. (Though I don’t always recommend this.)

This would excellent timing if it supported UE4.

Any chance of that happening?

If not, any other way to fix this error?

1 Like

Ok, for anyone else coming across this, I found something that worked.

Don’t know where Google’s Overview AI pulled this from but renaming the problematic struct did the job, and now the game packages just fine!

image

1 Like

I’ll reply to both comments at once.


No, I don’t think I’ll make this for UE4, it kinda is… too old?
And I kinda more than half-expect people to be using the newer versions (ie 5.1~5.7)

(Also, I’d still have to download UE4. :sob: )
Buuut, if this does get enough attention… then… ~Maaaybe.


As for the (Rename) solution.

Yes, that also works, but to me I find it to be a stupid solution.
Not the person who found out about it… (Yes there’s a YT video about that)
But the method itself, because to me, it’s not “Clean” or “Scientific” in a sense, you know?

I mean, if you use Version Control?
When you rename the struct, the old name is marked for “Delete”, because that’d be the (Re-directory)'s name.
So when you re-name, you still may have to deal with the redirectory, and unchecking this file from being deleted.

Additionally, it removes any “Default Values” you’ve set inside the struct.

(Not to mention… what if you had a lot of structs that were broken? will you find and rename each one… individually? → Yeah, this plugin tool avoids all that headache <3)

So, in the end, consider this a more “Modern” solution, than attempting to “Workaround” the random BS quirks the engine has.