Description

When LODBias for a landscape component is set to anything greater than zero, the editor will crash.

Reproduced in 4.19.0 CL 3944462 and 4.20 Main.
Not able to be reproduced in 4.18.3 CL 3832480. This is a regression.

Steps to Reproduce
  1. Create new, blank project
  2. Create landscape
  3. Navigate to Manage tool in Landscape Mode
  4. With Selection Tool enabled, select a landscape component
  5. In Details panel, navigate to Landscape Component section and in the LODBias field, input any number greater than 0; for example 1 or 2

Result: Editor crashes
Expected: LODBias for the component will be set to number specified

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Landscape!FLandscapeComponentSceneProxy::GetStaticBatchElementVisibility() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\landscape\private\landscaperender.cpp:1542]
UE4Editor_Renderer!FRelevancePacket::MarkRelevant() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\renderer\private\scenevisibility.cpp:1832]
UE4Editor_Renderer!ParallelFor() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\async\parallelfor.h:174]
UE4Editor_Renderer!ComputeAndMarkRelevanceForViewParallel() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\renderer\private\scenevisibility.cpp:1958]
UE4Editor_Renderer!FSceneRenderer::ComputeViewVisibility() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\renderer\private\scenevisibility.cpp:2808]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViews() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\renderer\private\scenevisibility.cpp:3067]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:593]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\renderer\private\scenerendering.cpp:2749]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`33'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:574]
UE4Editor_RenderCore!RenderingThreadMain() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:331]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:465]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4+release-4.19+compile\sync\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 toAnswerHub just mention UE-56314 in the post.

3
Login to Vote

Fixed
ComponentTools - Landscape
Affects Versions4.194.20
Target Fix4.19.1
Fix Commit3984366
CreatedMar 20, 2018
ResolvedApr 4, 2018
UpdatedMay 4, 2018
Pull Requests
4609 - mamoniem