Description

After enabling forward shading and disabling "Support Stationary Skylight" opening a static mesh in the static mesh editor will crash the engine.

REGRESSION?
Yes

Crash Did NOT occur in 4.15.1 CL 3348071
Crash Does Occur in 4.16 CL 3393613 (Automated Binary Build)

Steps to Reproduce
  1. Open Blank Project
  2. Enable "Forward Shading" and Disable "Support Stationary Skylight" restart
  3. Wait for shaders to finish compiling
  4. Select floor mesh in default scene and attempt to open in static mesh editor

RESULT
The editor crashes while opening mesh.

EXPECTED
The mesh opens in the static mesh editor.

Callstack

UE4Editor_Engine!FMaterial::GetShader() materialshared.cpp:1838
UE4Editor_Renderer!GetUniformBasePassShaders<2>() basepassrendering.cpp:778
UE4Editor_Renderer!GetBasePassShaders<FUniformLightMapPolicy>() basepassrendering.cpp:834
UE4Editor_Renderer!TBasePassDrawingPolicy<FUniformLightMapPolicy>::TBasePassDrawingPolicy<FUniformLightMapPolicy>() basepassrendering.h:1034
UE4Editor_Renderer!FDrawBasePassStaticMeshAction::Process<FUniformLightMapPolicy>() basepassrendering.cpp:462
UE4Editor_Renderer!ProcessBasePassMesh<FDrawBasePassStaticMeshAction>() basepassrendering.h:1557
UE4Editor_Renderer!FBasePassOpaqueDrawingPolicyFactory::AddStaticMesh() basepassrendering.cpp:511
UE4Editor_Renderer!FStaticMesh::AddToDrawLists() scenecore.cpp:366
UE4Editor_Renderer!FPrimitiveSceneInfo::AddStaticMeshes() primitivesceneinfo.cpp:152
UE4Editor_Renderer!FPrimitiveSceneInfo::AddToScene() primitivesceneinfo.cpp:195
UE4Editor_Renderer!FScene::AddPrimitiveSceneInfo_RenderThread() rendererscene.cpp:511
UE4Editor_Renderer!<lambda_0628b7e343e078d62bb69bb7a0b80e2d>::operator() rendererscene.cpp:780
UE4Editor_Renderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FScene::AddPrimitive'::`2'::AddPrimitiveCommandName,<lambda_0628b7e343e078d62bb69bb7a0b80e2d> > >::ExecuteTask() taskgraphinterfaces.h:883
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() taskgraph.cpp:954
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() taskgraph.cpp:701
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?

Head over to the existing Questions & Answers thread and let us know what's up.

33
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.164.174.184.194.20
Target Fix4.21
Fix Commit4489857
Main Commit4551290
Release Commit4489857
CreatedApr 17, 2017
ResolvedOct 23, 2018
UpdatedNov 8, 2018
View Jira Issue