# Unknown structure Error When Cook

**URL:** <https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [November 22, 2015, 2:12pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325 "2015-11-22T14:12:35Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Shiina\_0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shiina\_0](https://forums.unrealengine.com/u/Shiina_0)\
**Post date:** [September 16, 2022, 3:02pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/41 "2022-09-16T15:02:14Z")

</div>

Renaming the struct and then reseting the engine solved the problem for me.

---

<div class="post-metadata">

**Author:** ![Gulith421](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gulith421](https://forums.unrealengine.com/u/Gulith421)\
**Post date:** [October 11, 2022, 12:36pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/42 "2022-10-11T12:36:42Z")

</div>

Problem still here in UE5 : nothing above works for me  
Do we have to stop using blueprint structs ?  
Or maybe this doesn’t happen with c++ structs?

---

<div class="post-metadata">

**Author:** ![Gulith421](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gulith421](https://forums.unrealengine.com/u/Gulith421)\
**Post date:** [October 11, 2022, 3:07pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/43 "2022-10-11T15:07:18Z")

</div>

tried:

1. duplicate struct
2. delete & auto replace reference with duplicate
3. everything breaks
4. after repair and engine restart, error is gone.
5. modified a default value of the fresh struct … and the error is back again …

---

<div class="post-metadata">

**Author:** ![Skowroshima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skowroshima/32/493792_2.png) [@Skowroshima](https://forums.unrealengine.com/u/Skowroshima)\
**Post date:** [October 13, 2022, 4:50pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/44 "2022-10-13T16:50:26Z")

</div>

Hard to believe this is still an issue after 7 years. I was looking at [https://issues.unrealengine.com/](https://issues.unrealengine.com/) to vote on it, and didn’t see a issue for it. Am I missing something?

---

<div class="post-metadata">

**Author:** ![Lupoluke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lupoluke](https://forums.unrealengine.com/u/Lupoluke)\
**Post date:** [October 16, 2022, 8:37am UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/45 "2022-10-16T08:37:06Z")

</div>

In case someone meet this issue.

I met in in 4.27.2.

Just enetered in the blueprint which used the struct and in “file” I have refresh all nodes.

Saved and closed the eidtor.

Once I have reopened it the problem was solved and no erro were displayed in the log.

---

<div class="post-metadata">

**Author:** ![RealAero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realaero/32/716140_2.png) [@RealAero](https://forums.unrealengine.com/u/RealAero)\
**Post date:** [February 5, 2023, 10:32pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/46 "2023-02-05T22:32:04Z")

</div>

Upgrading a project from 5.0.3 to 5.1, none of these work.  
I’ve encountered and fixed this error endlessly over the years, but 5.03 to 5.1 there is nothing I can find to make it work. In fact, trying any of these traditional fixes now create 1000x the errors. I’ve never seen so many red errors in a log before, from a perfectly clean building project in 5.0.3. Smh.

Please people, use source control, or this attempt to upgrade would 100% be the death of this project.

---

<div class="post-metadata">

**Author:** ![Gulith421](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gulith421](https://forums.unrealengine.com/u/Gulith421)\
**Post date:** [April 22, 2023, 9:01pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/47 "2023-04-22T21:01:03Z")

</div>

best solution i found was to move your struct to c++.

---

<div class="post-metadata">

**Author:** ![Skowroshima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skowroshima/32/493792_2.png) [@Skowroshima](https://forums.unrealengine.com/u/Skowroshima)\
**Post date:** [July 16, 2023, 12:39am UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/48 "2023-07-16T00:39:34Z")

</div>

Still an issue in 5.2.1, amazing.

Still having random builds fail - having to go and add then remove a dummy variable from the class that doesn’t know the struct.

When it is 40 minutes to a build, time really adds up as this happens a dozen+ times a month.

---

<div class="post-metadata">

**Author:** ![Lumpa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lumpa](https://forums.unrealengine.com/u/Lumpa)\
**Post date:** [July 19, 2023, 12:30pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/49 "2023-07-19T12:30:43Z")

</div>

This seems to be able to happen when you delete/move/change something that has _any_ relationship at all with that struct. But what has always ended up solving the problem for me is to find those nodes in your blueprint (that your error threw), right clicking them and selecting **Refresh Node**.

---

<div class="post-metadata">

**Author:** ![Trastrastras](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trastrastras](https://forums.unrealengine.com/u/Trastrastras)\
**Post date:** [August 30, 2023, 10:05pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/50 "2023-08-30T22:05:45Z")

</div>

Thanks! Renaming/moving structures works perfectly. I spend hours on this 😀

---

<div class="post-metadata">

**Author:** ![kiruru002](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kiruru002](https://forums.unrealengine.com/u/kiruru002)\
**Post date:** [October 30, 2023, 6:17pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/51 "2023-10-30T18:17:41Z")

</div>

Still an issue in 5.3.1.  
In my case, when I recompiled the blueprint of the problem, the packaging was completed.  
However, this does not mean that the editor shows compilation errors.

---

<div class="post-metadata">

**Author:** ![TLOA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tloa/32/634422_2.png) [@TLOA](https://forums.unrealengine.com/u/TLOA)\
**Post date:** [November 4, 2023, 1:30am UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/52 "2023-11-04T01:30:15Z")

</div>

THANK YOU THANK YOU THANK YOU!!! deleted and remade struct and i got it to build! i was so worried!

---

<div class="post-metadata">

**Author:** ![codeedward1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@codeedward1](https://forums.unrealengine.com/u/codeedward1)\
**Post date:** [January 28, 2024, 11:11pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/53 "2024-01-28T23:11:44Z")

</div>

This video is also useful for Unknown Structure issue: [https://www.youtube.com/watch?v=aMGEqsGIrcI&ab\_channel=TechNova45](https://www.youtube.com/watch?v=aMGEqsGIrcI&ab_channel=TechNova45)

---

<div class="post-metadata">

**Author:** ![DanielRiversArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danielriversart/32/780141_2.png) [@DanielRiversArt](https://forums.unrealengine.com/u/DanielRiversArt)\
**Post date:** [February 6, 2024, 6:58pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/54 "2024-02-06T18:58:05Z")

</div>

It worked to me, too!! Very nice!

---

<div class="post-metadata">

**Author:** ![Skowroshima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skowroshima/32/493792_2.png) [@Skowroshima](https://forums.unrealengine.com/u/Skowroshima)\
**Post date:** [April 13, 2024, 11:39pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/55 "2024-04-13T23:39:04Z")

</div>

Thanks for the tip. Simply closing and reopening Unreal after making a blueprint structure change is saves a bunch of time. Only 5 minutes wasted each time instead of the 20+ manually modifying all the chain saved blueprints.

It would be great if the underlying issue was fixed within Unreal, this is such a obvious and reproducible issue.

---

<div class="post-metadata">

**Author:** ![LEVCONON](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LEVCONON](https://forums.unrealengine.com/u/LEVCONON)\
**Post date:** [April 14, 2024, 12:41pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/56 "2024-04-14T12:41:01Z")

</div>

OK, so the error passed and my build even have 0 warnings now, the issue for me was having an  
wrongly implemented interface

Error looked like this:  
LogProperty: Error: FStructProperty::Serialize Loading: Property ‘StructProperty /Game/Blueprints/TileMaps/Sky\_Hill.Sky\_Hill\_C:EquipItem:ItemInfo’. Unknown structure.  
LogProperty: Error: FStructProperty::Serialize Loading: Property ‘StructProperty /Game/Blueprints/TileMaps/Sky\_Hill.Sky\_Hill\_C:ExecuteUbergraph\_Sky\_Hill:K2Node\_Event\_ItemInfo’. Unknown structure.

I entered the “Sky\_Hill.Sky\_Hill\_C” Tilemap Actor and removed an implemented interface from it.  
(which was unused, what probably caused the issue)

Good luck all.

---

<div class="post-metadata">

**Author:** ![iPoNet](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/iponet/32/1046210_2.png) [@iPoNet](https://forums.unrealengine.com/u/iPoNet)\
**Post date:** [May 31, 2024, 5:44pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/57 "2024-05-31T17:44:16Z")

</div>

Fix for 5.4.1

I just refresh nodes for those marked red on output error instead deleting the whole struct

---

<div class="post-metadata">

**Author:** ![Sapato22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sapato22](https://forums.unrealengine.com/u/Sapato22)\
**Post date:** [June 8, 2024, 3:50pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/58 "2024-06-08T15:50:14Z")

</div>

Thank you! This worked to me!

---

<div class="post-metadata">

**Author:** ![skyrim0007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skyrim0007](https://forums.unrealengine.com/u/skyrim0007)\
**Post date:** [July 6, 2024, 2:54pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/59 "2024-07-06T14:54:53Z")

</div>

thankyou that’s work for me

---

<div class="post-metadata">

**Author:** ![NotAllama](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NotAllama](https://forums.unrealengine.com/u/NotAllama)\
**Post date:** [September 12, 2025, 9:31pm UTC](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325/60 "2025-09-12T21:31:14Z")

</div>

Still recurring in 5.6.1 - how do we get epic to look at fixing structs (or event making them even marginally less flaky?)

[Previous page](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325.md?page=2)

[Next page](https://forums.unrealengine.com/t/unknown-structure-error-when-cook/339325.md?page=4)
