Failed to compile Landscape Material

Hi. I’m packaging my project for Android and PC and I have problems with the Landscape material. Here’s what I get in the log.

MainFrameActions: Packaging (Android (ATC)): UE4Editor-Cmd: [2016.03.13-07.22.56:923][ 0]LogInit:Display: LogShaderCompilers:Warning: Failed to compile Material /Game/Environment/CityZone/Materials/MLandscapesCityZone.MLandscapesCityZone for platform GLSL_ES2, Default Material will be used in game.

Here’s what the material is looking like:

Hello Alfasketer,

Due to limitations of the mobile platform (ES2), you are only allowed 5 texture samples per material. However, if you are working on a high-end device that can utilize the Feature Level ES 3.1, then this material should compile without issues. This information comes directly from our materials for mobile documentation. Take a look at the link below for more information.

Materials for Mobile

What I suggest it using the Feature Level Switch node in the material editor so the material can correctly account for the associated mobile platform, and exclude any rendering features that are not supported.

Let me know if you have further questions or need additional assistance.

Cheers,