Description

No user comments in crash group

 1511       	if (PreferedLOD >= 0.0f)
 1512       	{
 1513       		PreferedLOD = FMath::Clamp<int32>(PreferedLOD, FMath::Max((float)FirstLOD, MinValidLOD), FMath::Min((float)LastLOD, MaxValidLOD));
 1514       		PreferedLOD = FMath::Max<float>(PreferedLOD, MinStreamedLOD);
 1515       	}
 1516       	else
 1517       	{
 1518       		PreferedLOD = (float)GetLODFromScreenSize(InMeshScreenSizeSquared, InViewLODScale);
 1519       		PreferedLOD = FMath::Max<float>(PreferedLOD, MinStreamedLOD);
 1520       
 1521 ***** 		PreferedLOD = ComputeBatchElementCurrentLOD((int32)PreferedLOD, InMeshScreenSizeSquared);
 1522       	}
Steps to Reproduce

No known steps to reproduce

Callstack
Assertion failed: LODScreenRatioSquared.IsValidIndex(InSelectedLODIndex) [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeRender.cpp] [Line: 1698]

UE4Editor_Landscape!FLandscapeComponentSceneProxy::CalculateLODFromScreenSize() [landscaperender.cpp:1522]
UE4Editor_Landscape!FLandscapeComponentSceneProxy::CalculateBatchElementLOD() [landscaperender.cpp:1673]
UE4Editor_Landscape!FLandscapeComponentSceneProxy::InitViewCustomData() [landscaperender.cpp:1777]
UE4Editor_Renderer!FRelevancePacket::MarkRelevant() [scenevisibility.cpp:1726]
UE4Editor_Renderer!ParallelFor() [parallelfor.h:174]
UE4Editor_Renderer!ComputeAndMarkRelevanceForViewParallel() [scenevisibility.cpp:1958]
UE4Editor_Renderer!FSceneRenderer::ComputeViewVisibility() [scenevisibility.cpp:2808]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViews() [scenevisibility.cpp:3067]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderHitProxies() [scenehitproxyrendering.cpp:664]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [scenerendering.cpp:2742]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`33'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:574]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:331]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:465]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-56515 in the post.

0
Login to Vote

Fixed
ComponentTools - Landscape
Affects Versions4.19
Target Fix4.19.1
Fix Commit3971393
CreatedMar 27, 2018
ResolvedMar 29, 2018
UpdatedMay 4, 2018