Packaging

Im trying to package my game and is giving this error im getting crazy

LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Widgets/WD_LobbyMenu.WD_LobbyMenu_C:UpdatePlayerName:CallFunc_Array_Get_Item'. Unknown structure.



PackagingResults: Error: GlobalDefaultGameMode contains a redirected reference '/Game/FrameWork/BlueprintShoother_gamemode'. The intended asset will fail to load in a packaged build. Select the intended asset again in Project Settings to fix this issue.




LogProperty: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Widgets/WD_LobbyMenu.WD_LobbyMenu_C:UpdatePlayerName:PlayerProfile.PlayerProfile'. Unknown structure



PackagingResults: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Widgets/WD_LobbyMenu.WD_LobbyMenu_C:UpdatePlayerName:CallFunc_Array_Get_Item'. Unknown structure.



PackagingResults: Error: Unknown Cook Failure




Sounds silly, but did you go into Framework/BlueprintShoother_gamemode blueprint and try to compile it manually? It seems like there is a reference to a struct that has either changed names or no longer exists. It tried to look for name redirectors but found none.

Thats the thing i got not BlueprintShoother_gamemode in my framework

i think i change the name

Check the Native OS file explorer for it (not unreal file explorer) also.

like the windows explorer?

yes

yea so i got the gameshooter gamemode in the explorer but what do i do now?

delete it if you’re not using it. If you can’t see it in unreal engine, but it exists in the file explorer, it means that it’s corrupted.

If you move this file inside unreal engine to a different folder, try right clicking both folders and ->Fix up Redirectors.

it has 2 option delete unreferenced redirectors and keep

Idk try both, never seen those only ever seen fixup

but if i press delete doesnt it delete my blueprints?

Redirectors are no blueprints. Redirectors are used by unreal to determine where a file has moved to in unreals view of the file system. Fixing them up removed the redirectors and properly moves any files on the file system that it was referencing.

Right clicking any asset in unreal and selecting Fix Up Redirectors does not delete blueprints

let me try

one more error actualy 2 but the other is solved thx PackagingResults: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Widgets/WD_LobbyMenu.WD_LobbyMenu_C:UpdatePlayerName:PlayerProfile.PlayerProfile'. Unknown structure. PackagingResults: Error: FStructProperty::Serialize Loading: Property 'StructProperty /Game/Widgets/WD_LobbyMenu.WD_LobbyMenu_C:UpdatePlayerName:CallFunc_Array_Get_Item'. Unknown structure.

Its the same issue except the compilation process is just getting farther along.

The root of your issue is that you remove or renamed the STRUCT without providing a Struct Redirector, which is usually in a plugin or projects .ini file.

You will have to either provide a redirector or manually open all of the blueprints who are marked with the issues, recompile them, find the error, and manually change the struct to the new one.
See here an example Using Redirects with C++ Structs?