I can't cook/package my game, and I can't really find the problem from the only 1 error.

Hi everyone,

I’ve been trying to cook/package my game for days now, and I can’t find and fix this error. I don’t really understand what’s the problem. I’m using UE5.6, and as a VFX artist I find it difficult to program, so I’m using Horror Engine which allows me to get as creative as I can get, without needing to code. Anyways, I’ve looked for HorrorEngine.HorrorEngine_C and I found they’re all Event Start, there are no errors when I compiled the BP, and all the nodes are connected perfectly. Plus HorrorEngineSettings isn’t even referenced directly, but settings within that BP is referenced, and it’s not connected directly to any of the Event Starts. Honestly, I’m not even sure that this is the reason why cooking fails every time.

LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/HorrorEngine/HorrorEngine.HorrorEngine_C:HorrorEngineSettings'. Unknown structure.

cooking log.txt (1.3 MB)

package log.txt (2.3 MB)

Hi @SteveLosive ,
I’ve been digging around the Unreal forums and found a few similar cases, maybe one of these solutions could help:

People suggest checking struct variables and using Refresh All Nodes in the affected Blueprints

In this post they fixed it by renaming the struct variable, recompiling and saving, or even recreating the struct from scratch

others solved it by opening the Blueprints that reference the struct, running Refresh All Nodes, and compiling.

And lastly, this page explains why the error happens and the common steps to resolve it

Hope it helps!

2 Likes

Thank you so much, this is great info. I’ll try each and every possible fix until I get it to cook/package.

IT FRICKING WORKED!! THANK YOU!!! Refreshing the nodes does it, I opened the BP, went to file, then refresh all nodes and that did it.

2 Likes