Using the NSLOCTEXT macro with the third string literal as an empty string causes a packaged game to immediately crash on launch. No Crash Reporter window opens, and no log is created.
A sample project (created in Main CL 4329255) is attached.
RESULT:
The packaged project immediately crashes on launch. No Crash Reporter window appears, and no log is created.
EXPECTED:
There is either a compile error when the third string literal in the NSCLOCTEXT macro is an empty string, or the packaged project runs successfully.
WORKAROUND:
Make sure the third string literal in the NSLOCTEXT macro is not an empty string. Any single character (except for a NUL character) in the third string literal will allow the packaged project to launch successfully.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-63522 in the post.
| 1 |
| Component | UE - Editor - UI Systems - Localization |
|---|---|
| Affects Versions | 4.19.2, 4.20.2, 4.21 |
| Target Fix | 4.21 |
| Created | Aug 30, 2018 |
|---|---|
| Resolved | Aug 31, 2018 |
| Updated | Oct 2, 2018 |