I’ve run into a small loc issue on our project. We’re using string tables, which have been working great. However, I recently made a change to move our hard-coded strings into the string table. This works great in the editor and standalone builds. However, in a full packaged build, these strings just display as “Missing String Table Entry”. I imagine I’m missing something simple, but I’m not sure what it is.
I’m looking up the string from code as follows:
FText::FromStringTable("/Game/StringTables/FrontEnd", "Back");
Textfields that are bound to the same string table entry display fine, so I’m assuming it’s some sort of code issue. Does the string table path change for package builds?
Thanks,
Thanks for your reply. However, the StringTables folder has already been added to the list of cooked directories. (Numerous textfields are referencing the string table as well.) Every string works fine from that string table except those specifically loaded from code.
The path doesn’t change (although I think it should be “/Game/StringTables/FrontEnd.FrontEnd” for assets), but if no assets are referencing that String Table asset then it won’t get cooked. You could add the folder containing your String Table assets to the list of asset paths to always cook (this can be found in your project packaging settings).
Does changing the path to /Game/StringTables/FrontEnd.FrontEnd
help?
If not then you’ll have to debug where it’s failing ( RedirectAndLoadStringTableAssetImpl
is StringTable.cpp is what attempts to find or load the String Table asset).
Specifying /Game/StringTables/FrontEnd.FrontEnd
appears to have fixed the issue. Thanks Jamie!