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"

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: Material

Product Version: UE 4.11 Preview
more ▼

asked Mar 13 '16 at 01:31 PM in Packaging & Deployment

avatar image

1 1 2 2

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

1 answer: sort voted first

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.


Andrew Hurley

more ▼

answered Mar 18 '16 at 03:47 PM

(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