Report of a chain of dependencies that can lead to a fatal loader stall in a nativized build:
The necessary order of operations is:
User-suggested fix (for review):
Change the nativized code gen for the static script constructor from checking whether the object already exists via
if (!Singleton)
{
to using a static bool check instead
static bool bWasRegisteredEver = false; if (!bWasRegisteredEver) { bWasRegisteredEver = true;
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-55913 in the post.
| 1 |
| Component | UE - Gameplay - Blueprint Runtime |
|---|---|
| Affects Versions | 4.18 |
| Created | Mar 7, 2018 |
|---|---|
| Resolved | Jul 15, 2021 |
| Updated | Jul 19, 2021 |