Description

No user comments in crash group

 3127       			if (SectionLodsParameter.IsBound())
 3128       			{
 3129       				if (CurrentLODData.UseCombinedMeshBatch)
 3130       				{
 3131       					SetShaderValue(RHICmdList, VertexShaderParamRef, SectionLodsParameter, CurrentLODData.ShaderCurrentLOD);
 3132       				}
 3133       				else
 3134       				{
 3135       					FVector4 ShaderCurrentLOD(ForceInitToZero);
 3136 ***** 					ShaderCurrentLOD.Component(SubSectionIndex) = CurrentLODData.SubSections[SubSectionIndex].fBatchElementCurrentLOD;
 3137       
 3138       					SetShaderValue(RHICmdList, VertexShaderParamRef, SectionLodsParameter, ShaderCurrentLOD);
 3139       				}
 3140       			}
Steps to Reproduce

No known steps to reproduce

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 610] Array index out of bounds: -3 from an array of size 4

UE4Editor_Landscape!FLandscapeVertexFactoryVertexShaderParameters::SetMesh() [landscaperender.cpp:3137]
UE4Editor_Renderer!FMeshMaterialShader::SetMesh<FRHIVertexShader * __ptr64>() [shaderbaseclasses.cpp:511]
UE4Editor_Landscape!FLandscapeGrassWeightDrawingPolicy::SetMeshRenderState() [landscapegrass.cpp:336]
UE4Editor_Landscape!FLandscapeGrassWeightExporter_RenderThread::RenderLandscapeComponentToTexture_RenderThread() [landscapegrass.cpp:445]
UE4Editor_Landscape!TGraphTask<`FLandscapeGrassWeightExporter::FLandscapeGrassWeightExporter'::`2'::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-55576 in the post.

0
Login to Vote

Fixed
ComponentTools - Landscape
Affects Versions4.19
Target Fix4.19
Fix Commit3917244
Main Commit3990065
Release Commit3917244
CreatedFeb 27, 2018
ResolvedMar 9, 2018
UpdatedApr 27, 2018