CategoriesC++Unreal Engine

Unknown structure in BPs during cooking after updating the engine

After updating engine from 5.4 to 5.5 there were a lot of errors in BP_PB_MainMenuGameMode with log “unknown structure“ in PlayFab async nodes.

LOG
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_3EA289BF44DE58647EEDBE94DBFBAFD2:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_0B1C352942D5F143C8B4D8A25DA80CEF:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_1A0EB2EA43AFF9FF4ACD61B5B2066B5C:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_DCC86BA4449C14B1ACDFE0814C55A2F3:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_21231BFD4BE61A95E8D611AC2FB07AF8:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_B1421B304D52951825D766BDA0EC6AA0:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_A405560142B55F6A1A0094901137665F:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_9FA6414944FCA3602E478EA88220A34F:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_3E8E60F04A8D6D8BBA6A8282BFB43CFA:response'. Unknown structure.
UATHelper: Packaging (Windows): LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Core/GameModes/BP_PB_MainMenugameMode.BP_PB_MainMenuGameMode_C:OnPlayFabResponse_7A2E03454653A83351BF839F8612993A:response'. Unknown structure.

The error points to response structure of type FPlayFabBaseMode.

My journey:

  1. Firstly I ensured that this structure has BlueprintType markup.
  2. After this I noticed that this structure uses GENERATED_USTRUCT_BODY() macros. I remembered that Epics told not to use this macro and use GENERATED_BODY() instead and thought that they made it deprecated. Replaced all GENERATED_USTRUCT_BODY() in plugin with GENERATED_BODY() – didn’t help
  3. Then I tried to Refresh all these async nodes in BP – didn’t help.
  4. Then I started thinking that maybe in new Engine versions there’s a new rule to add plugins defenitions in Buid.cs even for BPs; Added – didn’t help;
  5. Then I started to think that maybe there’s a cooking cache of my old builds in the project’s Intermediate folder. Cleaned up the project folder; Didn’t help;
  6. Finally I started to think that maybe I just need to update uplugin’s "EngineVersion": "5.4.0" to "EngineVersion": "5.5.0?

note: there’s no plugin version for UE5.5 in Fab right now;

And finally it helped. That’s it.

Leave a Reply

Your email address will not be published. Required fields are marked *