User reports on the forums of being stuck in an infinite loop and noticed a dead branch in the titled function:
The body of if (SubLODActor) doesn't actually do anything, guaranteeing an infinite loop if the FirstActor is an ALodActor. It looks like in the body of that if statement it should be looping through all sub ALODActors and a recursive call on each until it gets a non-ALODActor or nullptr.
Specifically this section of code where the first branch has no function:
const ALODActor* SubLODActor = Cast<ALODActor>(FirstActor); if (SubLODActor) { SubLODActor->SubActors.IsValidIndex(0) ? SubLODActor->SubActors[0] : nullptr; } else { // Unable to find a valid actor FirstActor = nullptr; }
Unknown
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62838 in the post.
0 |
Component | UE - World Creation - Worldbuilding Tools - HLOD |
---|---|
Affects Versions | 4.20.1 |
Target Fix | 4.20.2 |
Created | Aug 13, 2018 |
---|---|
Resolved | Aug 14, 2018 |
Updated | Oct 23, 2018 |