Description

This is a trending crash coming out of the 4.18 Previews. Users have not provided any descriptions of their actions when the crash occurred.

Source Context

1964       			// Determine the amount of shadow buffer resolution needed for this view.
 1965       			float UnclampedResolution = 1.0f;
 1966       
 1967       			switch (LightSceneInfo->Proxy->GetLightType())
 1968       			{
 1969       			case LightType_Point:
 1970       				UnclampedResolution = ScreenRadius * CVarShadowTexelsPerPixelPointlight.GetValueOnRenderThread();
 1971       				break;
 1972       			case LightType_Spot:
 1973       				UnclampedResolution = ScreenRadius * CVarShadowTexelsPerPixelSpotlight.GetValueOnRenderThread();
 1974       				break;
 1975       			default:
 1976       				// directional lights are not handled here
 1977 ***** 				checkf(false, TEXT("Unexpected LightType appears in CreateWholeSceneProjectedShadow"));
 1978       			}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: false 
[File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Renderer\Private\ShadowSetup.cpp] [Line: 1978] 
Unexpected LightType appears in CreateWholeSceneProjectedShadow

UE4Editor_Renderer!FSceneRenderer::CreateWholeSceneProjectedShadow() [shadowsetup.cpp:1978]
UE4Editor_Renderer!FSceneRenderer::InitDynamicShadows() [shadowsetup.cpp:3639]
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-50657 in the post.

0
Login to Vote

Cannot Reproduce
ComponentRendering
Affects Versions4.184.18.2
CreatedOct 2, 2017
ResolvedAug 31, 2018
UpdatedJul 1, 2020