Description

Reproduced in 4.19.0 CL 3944462 and 4.20 Main
Unable to reproduce in 4.18.3 CL 3832480. This is a regression.

Steps to Reproduce
  1. Create new blank project
  2. Create landscape in blank level
  3. Set Max LODLevel to 0 in Details panel of Landscape actor
  4. Save level
  5. Double click level to reload

Result: Editor crashes
Expected: Level will re-load regularly

Callstack
LoginId:66c394b24862e3ac05f08db77865ca3e
EpicAccountId:7478aba397cc4d7da6b1f47b00c3ccc5

Assertion failed: LODScreenRatioSquared.IsValidIndex(InSelectedLODIndex) [File:D:\Main Workspace\Engine\Source\Runtime\Landscape\Private\LandscapeRender.cpp] [Line: 1724]

UE4Editor_Core!FDebug::AssertFailed() [d:\main workspace\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_Landscape!FLandscapeComponentSceneProxy::CalculateLODFromScreenSize() [d:\main workspace\engine\source\runtime\landscape\private\landscaperender.cpp:1548]
UE4Editor_Landscape!FLandscapeComponentSceneProxy::CalculateBatchElementLOD() [d:\main workspace\engine\source\runtime\landscape\private\landscaperender.cpp:1699]
UE4Editor_Landscape!FLandscapeComponentSceneProxy::InitViewCustomData() [d:\main workspace\engine\source\runtime\landscape\private\landscaperender.cpp:1804]
UE4Editor_Renderer!FProjectedShadowInfo::ShouldDrawStaticMeshes() [d:\main workspace\engine\source\runtime\renderer\private\shadowsetup.cpp:814]
UE4Editor_Renderer!FProjectedShadowInfo::AddSubjectPrimitive() [d:\main workspace\engine\source\runtime\renderer\private\shadowsetup.cpp:1041]
UE4Editor_Renderer!FGatherShadowPrimitivesPacket::RenderThreadFinalize() [d:\main workspace\engine\source\runtime\renderer\private\shadowsetup.cpp:2758]
UE4Editor_Renderer!FSceneRenderer::GatherShadowPrimitives() [d:\main workspace\engine\source\runtime\renderer\private\shadowsetup.cpp:2901]
UE4Editor_Renderer!FSceneRenderer::InitDynamicShadows() [d:\main workspace\engine\source\runtime\renderer\private\shadowsetup.cpp:3827]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViewsPossiblyAfterPrepass() [d:\main workspace\engine\source\runtime\renderer\private\scenevisibility.cpp:3279]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViews() [d:\main workspace\engine\source\runtime\renderer\private\scenevisibility.cpp:3128]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\main workspace\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:568]
UE4Editor_Renderer!CaptureSceneToScratchCubemap() [d:\main workspace\engine\source\runtime\renderer\private\reflectionenvironmentcapture.cpp:715]
UE4Editor_Renderer!TGraphTask<`CaptureSceneIntoScratchCubemap'::`4'::EURCMacro_CaptureCommand>::ExecuteTask() [d:\main workspace\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\main workspace\engine\source\runtime\core\private\async\taskgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\main workspace\engine\source\runtime\core\private\async\taskgraph.cpp:574]
UE4Editor_RenderCore!RenderingThreadMain() [d:\main workspace\engine\source\runtime\rendercore\private\renderingthread.cpp:331]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\main workspace\engine\source\runtime\rendercore\private\renderingthread.cpp:465]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\main workspace\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-56239 in the post.

4
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.194.20
Target Fix4.19.14.19.24.20
Fix Commit3954628
Main Commit4052378
Release Commit4095966
CreatedMar 16, 2018
ResolvedMay 1, 2018
UpdatedJun 23, 2018
View Jira Issue