Description

A common crash affecting many users in 4.17.0

Steps to Reproduce
  1. Open default level,
  2. Add importance volume
  3. Add sky light
  4. Set sky light minimal draw distance to 0
  5. Add translucent cube
  6. Build lighting
  7. Enjoy Crash
Callstack
Assertion failed: View.ForwardLightingResources->ForwardGlobalLightData.IsValid() || !ForwardGlobalLightData.IsBound() 
[File:d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\BasePassRendering.h] [Line: 81]

UE4Editor_Renderer!FForwardLightingParameters::Set<FRHICommandList,FRHIPixelShader * __ptr64>() basepassrendering.h:82 
UE4Editor_Renderer!TBasePassPixelShaderPolicyParamType<FUniformLightMapPolicyShaderParametersType>::SetParameters() basepassrendering.h:776 
UE4Editor_Renderer!TBasePassDrawingPolicy<FUniformLightMapPolicy>::SetSharedState() basepassrendering.h:1152 
UE4Editor_Renderer!FDrawTranslucentMeshAction::Process<FUniformLightMapPolicy>() translucentrendering.cpp:460 
UE4Editor_Renderer!ProcessBasePassMesh<FDrawTranslucentMeshAction>() basepassrendering.h:1563 
UE4Editor_Renderer!FTranslucencyDrawingPolicyFactory::DrawMesh() translucentrendering.cpp:555 
UE4Editor_Renderer!FTranslucencyDrawingPolicyFactory::DrawDynamicMesh() translucentrendering.cpp:602 
UE4Editor_Renderer!FTranslucentPrimSet::RenderPrimitive() translucentrendering.cpp:795 
UE4Editor_Renderer!FTranslucentPrimSet::DrawPrimitives() translucentrendering.cpp:768 
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderViewTranslucency() translucentrendering.cpp:1048 
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderTranslucency() translucentrendering.cpp:1284 
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() deferredshadingrenderer.cpp:1213 
UE4Editor_Renderer!CaptureSceneToScratchCubemap() reflectionenvironmentcapture.cpp:726 
UE4Editor_Renderer!CaptureSceneIntoScratchCubemap() reflectionenvironmentcapture.cpp:1308 
UE4Editor_Renderer!FScene::UpdateSkyCaptureContents() reflectionenvironmentcapture.cpp:1528 
UE4Editor_Engine!USkyLightComponent::CaptureEmissiveIrradianceEnvironmentMap() skylightcomponent.cpp:592 
UE4Editor_UnrealEd!FLightmassExporter::WriteLights() lightmass.cpp:1009 
UE4Editor_UnrealEd!FLightmassExporter::WriteToChannel() lightmass.cpp:614 
UE4Editor_UnrealEd!FLightmassProcessor::InitiateExport() lightmass.cpp:2480 
UE4Editor_UnrealEd!FStaticLightingSystem::InitiateLightmassProcessor() staticlightingsystem.cpp:2044 
UE4Editor_UnrealEd!FStaticLightingSystem::BeginLightmassProcess() staticlightingsystem.cpp:708 
UE4Editor_UnrealEd!FStaticLightingManager::CreateStaticLightingSystem() staticlightingsystem.cpp:303 
UE4Editor_UnrealEd!UEditorEngine::BuildLighting() staticlightingsystem.cpp:2304 
UE4Editor_UnrealEd!FBuildAllHandler::ProcessBuild() editorbuildutils.cpp:1025 
UE4Editor_UnrealEd!FEditorBuildUtils::EditorBuild() editorbuildutils.cpp:427 
UE4Editor_LevelEditor!FLevelEditorActionCallbacks::Build_Execute() leveleditoractions.cpp:633 
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() delegateinstancesimpl.h:1027 
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:97 
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() stoolbarbuttonblock.cpp:305 
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() delegateinstanceinterface.h:165 
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() tuple.h:497 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:537 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:282 
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() slateapplication.cpp:5199 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() slateapplication.cpp:232 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5188 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5690 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5670 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1718 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2161 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:881 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:721 
user32!UserCallWinProcCheckWow() 
user32!DispatchMessageWorker() 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:1009 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:3151 
UE4Editor!GuardedMain() launch.cpp:166 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:134 
UE4Editor!WinMain() launchwindows.cpp:210 
UE4Editor!__scrt_common_main_seh() exe_common.inl:253 
kernel32!BaseThreadInitThunk() 
ntdll!RtlUserThreadStart() 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-48396 in the post.

0
Login to Vote

Fixed
ComponentRendering
Affects Versions4.17
Target Fix4.17.1
Fix Commit3585074
CreatedAug 14, 2017
ResolvedAug 14, 2017
UpdatedApr 27, 2018