The HLOD system gets stuck in a infinite loop when building.
Comment from the user:
++I've tracked it down to this code:
const AActor* UHLODProxy::FindFirstActor(const ALODActor* LODActor)
{
auto RecursiveFindFirstActor = [&](const ALODActor* InLODActor)
{
const AActor* FirstActor = InLODActor->[Link Removed](0) ? InLODActor->SubActors[0] : nullptr; while (FirstActor != nullptr && FirstActor->IsA<ALODActor>())
{
const ALODActor* SubLODActor = Cast<ALODActor>(FirstActor); if (SubLODActor)
{
SubLODActor->[Link Removed](0) ? SubLODActor->SubActors[0] : nullptr;
}
else
{
// Unable to find a valid actor FirstActor = nullptr;
}
}
return FirstActor;
};
Working as expected in 4.19 CL# 4033788
Found in 4.20 CL# 4233996 and 4.21 CL# 4258917
This is a regression.
Results:
The editor will hang around 70-75% but will never complete
Expected:
The HLOD levels would generate
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62699 in the post.
2 |
Component | UE - World Creation - Worldbuilding Tools - HLOD |
---|---|
Affects Versions | 4.20, 4.21 |
Target Fix | 4.20.2 |
Created | Aug 8, 2018 |
---|---|
Resolved | Aug 14, 2018 |
Updated | Oct 23, 2018 |
4957 - TheCodez |