UUserDefinedEnum contains an array of FTexts which are supposed to be used as localized display names, however these are populated from the underlying UEnum type using the meta-data on the object. This means that the display names themselves aren't stable, and in addition to this preventing them being properly localized, also causes issues for deterministic cooking.
We should instead have this array default to the value of the enum entry name, but allow the user to change this via a text field in the enum editor. UUserDefinedEnum::GetEnumText should not call the UEnum version, nor should UUserDefinedEnum::PostLoad do anything to ensure these display names exist... basically, we need to kill FEnumEditorUtils::EnsureAllDisplayNamesExist being called by anything other than the enum editor itself.
We could also consider making DisplayNames a TMap of FName -> FText, now that both UHT and the localization gather support map properties.
Internal issue. No observable change.
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Delay nodes occasionally don't fire the "Completed" output in a nativized build
I am not able to find world outliner how to enable it?
An error occurred while trying to generate project files !?
I can't open my map from the editor.
What method is used to fill polygonal regions when drawing spline mesh at run time?
How to achieve HLSL Multiple Render Target in Material blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-26274 in the post.
0 |
Component | UE - Editor - UI Systems - Localization |
---|---|
Affects Versions | 4.12 |
Target Fix | 4.15 |
Fix Commit | 3213158 |
---|---|
Main Commit | 3229477 |
Created | Feb 1, 2016 |
---|---|
Resolved | Nov 29, 2016 |
Updated | May 16, 2017 |