FText Error while attempting to package a game

Im using the MBLS template in UNREAL 5.1. I imported the project and it runs 100% correctly in the editor. However, it fails to package the product. I get a log error associated with “FText”. I’m a bit of a newbie and I have no idea what is causing this error.

Warning/Error Summary (Unique only)
LogInit: Display: -----------------------------------
LogInit: Display: LogObj: Error: LoadConfig (/Script/EngineSettings.Default__GeneralProjectSettings): import failed for ProjectID in:
LogInit: Display: LogBlueprint: Error: [AssetLog] E:\Unreal\MBLS\Content\MBLS\Widgets\Lobby\WB_Lobby_PlayerList.uasset: [Compiler] Spawn node Create Widget must have a class specified. from Source: /Game/MBLS/Widgets/Lobby/WB_Lobby_PlayerList.WB_Lobby_PlayerList
LogInit: Display: LogBlueprint: Error: [AssetLog] E:\Unreal\MBLS\Content\MBLS\Widgets\Lobby\WB_Lobby_PlayerList.uasset: [Compiler] In use pin Connected Player no longer exists on node Create Widget . Please refresh node or break links to remove pin. from Source: /Game/MBLS/Widgets/Lobby/WB_Lobby_PlayerList.WB_Lobby_PlayerList
LogInit: Display: LogText: Warning: Saving FText “” which has been initialized from FString at cook time resave of source package /Game/MBLS/Blueprints/Structures/GameModes/S_GameMode_AvailableSettings may fix issue.

LogInit: Display: LogText: Warning: Saving FText “” which has been initialized from FString at cook time resave of source package /Game/MBLS/Blueprints/Structures/Player/S_ConnectedPlayer may fix issue.
LogInit: Display: LogText: Warning: Saving FText “” which has been initialized from FString at cook time resave of source package /Game/MBLS/Blueprints/Data/DT_Available_GameModes may fix issue.
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] E:\Unreal\MBLS\Content\MBLS\Widgets\Lobby\WB_Lobby_PlayerList.uasset: Failed to load ‘/Game/MBLS/Widgets/Lobby/WB_Lobby_PlayerList_Item’: Can’t find file.
LogInit: Display: LogLinker: Warning: [AssetLog] E:\Unreal\MBLS\Content\MBLS\Widgets\Lobby\WB_Lobby_PlayerList.uasset: VerifyImport: Failed to load package for import object ‘Package /Game/MBLS/Widgets/Lobby/WB_Lobby_PlayerList_Item’
LogInit: Display:
LogInit: Display: Failure - 3 error(s), 11 warning(s)

Answering even though this is old, because my search brought me here before I found an answer.

The specific question from above is a bit offtarget. The FText is only a warning, not an error. The actual error appears to be a BP error in WB_Lobby_PlayerList, which looks like it should be pretty easy to resolve.

But what brought me here is the FText “” warning, which was quite challenging for me to track down. Most related posts mention “don’t initialize FText from a FString” which is good and true and righteous, but clearly not what is happening here, or in my case. FText has an empty string, and is complaining about that.

What the issue was in my case, and from the asset names what seems to have been this dude’s issue, is that if you have a FText inside of a BP Struct you have to provide a default value! If you don’t, every place you use that BP struct will throw this error.

If that is what brough you here, you are welcome. GL HF.

1 Like