Description

This is a trending crash coming out of the 4.18 Preview.

User Descriptions

  • added a directional light

Source Context

 779       		const FPrimitiveSceneProxy* Proxy = PrimitiveSceneInfo->Proxy;
  780       
  781       		TArray<FViewInfo*, TInlineAllocator<1> > Views;
  782       		const bool bWholeSceneDirectionalShadow = IsWholeSceneDirectionalShadow();
  783       
  784       		if (bWholeSceneDirectionalShadow)
  785       		{
  786       			Views.Add(DependentView);
  787       		}
  788       		else
  789       		{
  790       			check(ViewArray);
  791       
  792 ***** 			for (int32 ViewIndex = 0; ViewIndex < ViewArray->Num(); ViewIndex++)
  793       			{
  794       				Views.Add(&(*ViewArray)[ViewIndex]);
  795       			}
  796       		}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: ViewArray [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Renderer\Private\ShadowSetup.cpp] [Line: 791]

UE4Editor_Renderer!FProjectedShadowInfo::AddSubjectPrimitive() [shadowsetup.cpp:793]
UE4Editor_Renderer!FGatherShadowPrimitivesPacket::RenderThreadFinalize() [shadowsetup.cpp:2620]
UE4Editor_Renderer!FSceneRenderer::GatherShadowPrimitives() [shadowsetup.cpp:2763]
UE4Editor_Renderer!FSceneRenderer::InitDynamicShadows() [shadowsetup.cpp:3684]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViewsPossiblyAfterPrepass() [scenevisibility.cpp:2945]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViews() [scenevisibility.cpp:2904]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [deferredshadingrenderer.cpp:579]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [scenerendering.cpp:2073]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`26'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [taskgraphinterfaces.h:784]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:651]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:560]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:327]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:461]
UE4Editor_Core!FRunnableThreadWin::Run() [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-50655 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.18
Target Fix4.21
CreatedOct 2, 2017
ResolvedAug 29, 2018
UpdatedDec 11, 2018
View Jira Issue