4.23 Landscape Material BUG/Crash?

The game crashes when the landscape with the applied material comes into the camera view.

How to reproduce:

  1. Create a new project
  2. Add a landscape
  3. Apply a landscape material
  4. Package for Windows 64-bit
  5. Launch the compiled game and turn the camera towards the landscape. If the Build Configuration is set to Shipping — the game crashes; if Development — it works, but the landscape material doesn’t show.

Crash Error is: LowLevelFatalError [File:Unknown] [Line: 2046] Fatal Error Material not found

Note: Everything works in editor, I can play the game in editor and it doesn’t crash and the material shows correctly too.

Engine version is 4.23.0 that just came out (not preview).

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

This thread seems to have found a solution (or a workaround) - Landscape material not showing on packaged game - Rendering - Unreal Engine Forums

In short, Landscape Material must have at least one Layer Blend. And you have to set layer name to something other than default “None”

286972-landscapematerialcookingworkaroundpng.jpg

That fixed it, thanks!