Editor crashes when assigning Landscape layer info (forward rendering, stationary skylight)

It’s a similar issue to this one UE-44076 ( Unreal Engine Issues and Bug Tracker (UE-44076) ), but has to do with assigning layers info to layers on the Landscape.

Steps:

  • Enable Forward rendering in the project settings,
  • create landscape (I created mine using heightmap),
  • apply material to the landscape with any number of layers,
  • go to Landscape tab and into the Paint mode,
  • try adding layer info to any available layer
  • CRASH!

If I disable “Support Stationary Skylight” shader permutations option in the Rendering settings of the Project settings, I get no crash, but I also get no dynamic skylight.

There is no issues with using deferred renderer, but I am working on VR project and forward rendering is what I need to use.

Thanks beforehand

Hi,

I was able to reproduce a similar crash but I’d like to have your callstack from the crash just to be sure that we’re on the same page.

Thanks,

Hi ,

I don’t have whole call stack handy right now (at work), but when Editor crashed I used “send and restart” button in the crash log window (I assume it was sent to Epic, and I did it 3-4 times in a row, if not more).

Although here is the part I have handy:

Fatal error:
[File:D:\Build++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp]
[Line: 1892] Couldn’t find Shader
TBasePassPSFCachedPointIndirectLightingPolicySkylight
for Material Resource
M_Landscape_Master!
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=1, Usage={}

Here is the entire crash report: LoginId:248635e0431314bc6b284cbf2f83ded5EpicAccountId:2d4aad05ceba49d29dc1eddd - Pastebin.com

Hi ,

Thank you for reporting this issue and providing a callstack. I was able to reproduce the crash and I have created a JIRA for it which you can track here:

If you have any questions or additional information please feel free to let us know.

All the best,

Hi,

Could this be still happening on v.19.2 with several landscapes in World Composition? Editor crashed two times when creating Layer Info.

I’ve 16 levels with one landscape of 2x2km each one. May I have too many levels?

Thanks in advance,
Javier