Callstack Error(Internationalization\Text.cpp]) in Editor UE5.6

Hi there, hopfully I won`t open a topic wich was already posted. Inside Editor I got the following Errormessage:

LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: TextData [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Internationalization\Text.cpp] [Line: 313]
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffc199471ed UnrealEditor-Core.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc19015d1e UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc19015c40 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbcd749efd UnrealEditor-Engine.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbcd7a662c UnrealEditor-Engine.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbcd79a9ab UnrealEditor-Engine.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18b589df UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18df1288 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18ad43e0 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18aad20e UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18df1bc5 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18dba975 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1914ca9f UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1915543a UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc19159c5e UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1915b288 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1916bb07 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1917e393 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1915e153 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18b8e74f UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc18b8e3dc UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1909e609 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1909d7a8 UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc1909dd9e UnrealEditor-CoreUObject.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc18bacc4 UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc18a5fdd UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc188b7bf UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc19aec876 UnrealEditor-Core.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbcf9b1574 UnrealEditor-Engine.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc24b8152 UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc1d012fd UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc1d00b2f UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc24f3438 UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffbc24b4f4f UnrealEditor-UnrealEd.dll!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ff7adc8e4c4 UnrealEditor.exe!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ff7adc8e6ba UnrealEditor.exe!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ff7adc9209e UnrealEditor.exe!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ff7adca4e44 UnrealEditor.exe!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ff7adca80fa UnrealEditor.exe!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc9307e957 KERNEL32.DLL!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc94e2ad6c ntdll.dll!UnknownFunction

Testing the Project inside of the Editor works fine without crashes, but cooking, fails.

I am not really sure what causes this Error and how to fix it. I read about missing Language Files inside of the Project and tried to fix it with no effort. (Importing the Internationalization Files into Project).

Does anyone have an ideas, what could lead to this Error and how to fix it? Many thanks in advance. And sorry for bad English.

Hello there @Ramasuchti!

Checking through your log, I think the critical line is at the very start:

Ensure condition failed: TextData [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Internationalization\Text.cpp] [Line: 313]

This error means that UE has clashed with an FText element (could be a text component, a variable in a blueprint, etc), which is either corrupted, or returnning an invalid value.

As for why this happens only during cook, that’s actually quite simple. The editor is way more forgiving, and can ignore an invalid text entry, while the project runs with no problems. On the other hand, when you try to cook, requirements are way more strict, and the process fails when reading that FText.

Also, importing the Internationalization files won’t make a difference here. It could help for missing translations, but this FText is a corrupted property somewhere in your project data, and that’s on a different layer, it won’t be affected by language packs.

The solution here, is to check your cook’s output log (usually at YourProject/Saved/Logs), and locate the corrupted entry. The log has timestamps, you should be able to look for which elements were being accesed during the fail. The idea is to isolate the cultrip asset, and either replace it, or remove it.

If the log doesn’t give you a clear clue of which asset is affecting the project, then it could be isolated by process of elimination. To do this, make a backup of your project, then open the current build, exclude half of your Content folder, and test cooking. If the error re-appears, cut Content in half again, and repeat, until the error dissapears. Then repeat the process with the portion that contains the error, until you find the corrupted asset.

Hi, thank you for the fast answer. As you mention the Error was caused through a FText, but inside a C++ class. I am not 100% sure, what was the exact fault. The FText was UPROPERTY(EditInstanceOnly). Maybe it was invisible but I could not find a invalid sign on the default value.

Somehow deleting the default value on FText, stopped this . Or does Unreal don`t like default value on FText InstanceOnly.

Anyway many thanks, the hint really helped to solve my problem.