x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

(4.17.1) Editor Crashes when I click paint in Landscape Mode

I've recreated the landscape in a new project with the same result. It seems to only crash on landscapes with layers in the material as soon as I click the Paint button under the Landscape mode. The crash log mentioned the skylight, so I deleted it with the same result as well. It crashes every single time.

Here is the crash log:

 Fatal error: [File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 1867] Couldn't find Shader TBasePassPSFCachedPointIndirectLightingPolicySkylight for Material Resource M_FortBraggSurface! 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_Opaque, SpecialEngine=0, TwoSided=0, TSNormal=1, Masked=0, Distorted=0, WritesEveryPixel=1, ModifiesMeshPosition=0, Usage={bUsedWithStaticLighting}
 
 UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
 UE4Editor_Engine!FMaterial::GetShader() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:1854]
 UE4Editor_Renderer!GetUniformBasePassShaders<2>() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\basepassrendering.cpp:778]
 UE4Editor_Renderer!GetBasePassShaders<FUniformLightMapPolicy>() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\basepassrendering.cpp:834]
 UE4Editor_Renderer!TBasePassDrawingPolicy<FUniformLightMapPolicy>::TBasePassDrawingPolicy<FUniformLightMapPolicy>() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\basepassrendering.h:1040]
 UE4Editor_Renderer!FDrawBasePassStaticMeshAction::Process<FUniformLightMapPolicy>() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\basepassrendering.cpp:462]
 UE4Editor_Renderer!ProcessBasePassMesh<FDrawBasePassStaticMeshAction>() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\basepassrendering.h:1563]
 UE4Editor_Renderer!FBasePassOpaqueDrawingPolicyFactory::AddStaticMesh() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\basepassrendering.cpp:511]
 UE4Editor_Renderer!FStaticMesh::AddToDrawLists() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\scenecore.cpp:366]
 UE4Editor_Renderer!FPrimitiveSceneInfo::AddStaticMeshes() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\primitivesceneinfo.cpp:151]
 UE4Editor_Renderer!FPrimitiveSceneInfo::AddToScene() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\primitivesceneinfo.cpp:204]
 UE4Editor_Renderer!FScene::AddPrimitiveSceneInfo_RenderThread() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\rendererscene.cpp:517]
 UE4Editor_Renderer!<lambda_0628b7e343e078d62bb69bb7a0b80e2d>::operator()() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\rendererscene.cpp:787]
 UE4Editor_Renderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FScene::AddPrimitive'::`2'::AddPrimitiveCommandName,<lambda_0628b7e343e078d62bb69bb7a0b80e2d> > >::ExecuteTask() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:784]
 UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:650]
 UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:559]
 UE4Editor_RenderCore!RenderingThreadMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:325]
 UE4Editor_RenderCore!FRenderingThread::Run() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:459]
 UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

Product Version: UE 4.17
Tags:
more ▼

asked Aug 17 '17 at 06:41 PM in Bug Reports

avatar image

jbattya
11 1 1 4

avatar image knotar Aug 20 '17 at 07:04 PM

I have the same issue. Haven't been able to find a fix. Hopefully Epic will look into it:

Fatal error: [File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 1867] Couldn't find Shader TBasePassPSFCachedPointIndirectLightingPolicySkylight for Material Resource MAT_Landscape_Island_Beach! 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_Opaque, SpecialEngine=0, TwoSided=0, TSNormal=1, Masked=0, Distorted=0, WritesEveryPixel=1, ModifiesMeshPosition=0, Usage={bUsedWithStaticLighting} 6]

avatar image adi1961 Aug 21 '17 at 08:36 AM

I just have the same problem with you, can't paint on my landscape in 4.17.1 it always crashes the editor :(

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi all.

The crash you are experiencing appears to be due to the issue we are tracking as UE-44076 (Crash When Opening Static Mesh After Enabling Forward Shading And Disabling "Support Stationary Skylight"). It is reproducable when "Forward Shading" and "Support Stationary Skylight" are enabled. You could try disabling these as a temporary workaround. If you continue to experience the crash afterwards with different reproduction steps, please let us know.

Cheers

more ▼

answered Aug 21 '17 at 01:06 PM

avatar image

Stephen Ellis ♦♦ STAFF
11.5k 322 32 480

avatar image knotar Aug 22 '17 at 04:22 AM

I've disabled "Support Stationary Skylight" and it works now. Thanks!

avatar image adi1961 Aug 22 '17 at 08:02 AM

Thanks Stephen, in the time being, I disable the "support stationary skylight" and change the skylight to movable and it work. Will there be a bug fix patch in version 4.17 for this problem? or it will be fix in 4.18?

avatar image Stephen Ellis ♦♦ STAFF Aug 22 '17 at 01:04 PM

The fix is currently targeted for the 4.18 release. I'll discuss if there is an opportunity to get the fix for a 4.17 hotfix, but there is no guarantee.

avatar image Geoff1229 Oct 13 '17 at 09:47 PM

This was driving me crazy too. Thanks for the help everyone. Disabling the "support stationary skylight" in project settings stopped the crashing.

avatar image Kelheor Jul 29 '18 at 08:46 PM

In 4.20.1 if you enabled "Forward Shading" and disabled "Support Stationary Skylight", you will get crash(same error).

avatar image Stephen Ellis ♦♦ STAFF Jul 30 '18 at 01:22 PM

Yes, the fix for this crash had been delayed. Now currently targeting the 4.21 release.

avatar image jwhit25 Jul 30 '18 at 05:38 PM

Just tried this on 4.20.1 with both Forward Shading and Stationary Skylight disabled, still produces the same error and crashes.

avatar image J_Tox Aug 27 '18 at 07:31 AM

Have the same problem with the Oculus Source Distribution 4.20.2 ion my VR project. Do I have to work without the forward shading also ?

avatar image J_Tox Aug 27 '18 at 07:35 AM

UPDATE: I just change the Support Stationary Skylight to enabled and kept my Forward Shading and now I can access the material without crash !

avatar image RVillani Jan 01 '19 at 03:03 PM

I'm having this issue on 4.21.3. If I disable Support PointLight WholeSceneShadows, every time I try to drag a point or rect light in the level, it crashes. Unless there's nothing with a lit material in it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question