Crash that occurs when applying a masked material (with LandscapeLayerBlend and LandscapeVisibilityMask) to a Landscape's material slot.
This is a regression:
broken in 4.16.0 CL 3405315
worked in 4.15.1 CL 3348071
Result: Editor crashes
Fatal error: [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 1851] Couldn't find Shader FHitProxyVS for Material Resource landscapeVisibilityMask! RenderMeshShaderMap 1, RenderThreadShaderMap 1 GameMeshShaderMap 1, GameThreadShaderMap 1, bShaderWasFoundInGameShaderMap 0 With VF=FLocalVertexFactory, Platform=PCD3D_SM5 ShouldCache: Mat=0, VF=1, Shader=1 MaterialUsageDesc: LightingModel=MSM_DefaultLit, BlendMode=BLEND_Masked, Spec UE4Editor_Engine!FMaterial::GetShader() [materialshared.cpp:1838] UE4Editor_Renderer!FHitProxyDrawingPolicy::FHitProxyDrawingPolicy() [scenehitproxyrendering.cpp:180] UE4Editor_Renderer!FHitProxyDrawingPolicyFactory::AddStaticMesh() [scenehitproxyrendering.cpp:325] UE4Editor_Renderer!FStaticMesh::AddToDrawLists() [scenecore.cpp:327] 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]
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - LD & Modeling - Terrain - Landscape |
---|---|
Affects Versions | 4.16, 4.17 |
Target Fix | 4.16 |
Created | Apr 28, 2017 |
---|---|
Resolved | May 5, 2017 |
Updated | Oct 30, 2017 |