# When i enable mobile preview my material isnt appearing

**URL:** <https://forums.unrealengine.com/t/when-i-enable-mobile-preview-my-material-isnt-appearing/585647>\
**Category:** Rendering\
**Tags:** Mobile-Renderer, unreal-engine, Lighting, UE4, question, UE4-27\
**Created:** [June 20, 2022, 5:18am UTC](https://forums.unrealengine.com/t/when-i-enable-mobile-preview-my-material-isnt-appearing/585647 "2022-06-20T05:18:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vagronte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vagronte](https://forums.unrealengine.com/u/Vagronte)\
**Post date:** [June 20, 2022, 5:18am UTC](https://forums.unrealengine.com/t/when-i-enable-mobile-preview-my-material-isnt-appearing/585647/1 "2022-06-20T05:18:21Z")

</div>

When i use mobile preview or running the game on my android device the material isnt appearing

 ![AndroidCarSim - Unreal Editor 20-06-2022 10_30_55~2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/1/d211d43bd57a77ca249f9db280a387269ee3e993.jpeg)  
 ![AndroidCarSim - Unreal Editor 20-06-2022 10_29_52~2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/4/744d103ff2ff8df5c83a2850ec09f42fcbfcae9a.jpeg)

---

<div class="post-metadata">

**Author:** ![herb64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@herb64](https://forums.unrealengine.com/u/herb64)\
**Post date:** [June 20, 2022, 7:08am UTC](https://forums.unrealengine.com/t/when-i-enable-mobile-preview-my-material-isnt-appearing/585647/2 "2022-06-20T07:08:55Z")

</div>

The landscape material has some issues - did you check the Platform Stats output for this material?

![platform-stats](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/5/3658624883790e8f644058e59376bebcb8723e07.png)

This one runs the compiles and shows you the shader compiler error messages.

---

<div class="post-metadata">

**Author:** ![Vagronte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vagronte](https://forums.unrealengine.com/u/Vagronte)\
**Post date:** [June 21, 2022, 6:01am UTC](https://forums.unrealengine.com/t/when-i-enable-mobile-preview-my-material-isnt-appearing/585647/3 "2022-06-21T06:01:56Z")

</div>

Yeah i ran it and these are the errors

 ![20220621_113106](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/9/5d959dfcc3a0d3efcbb5c95dc823a14d2dd2b4e7.jpeg)

---

<div class="post-metadata">

**Author:** ![Vagronte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vagronte](https://forums.unrealengine.com/u/Vagronte)\
**Post date:** [June 21, 2022, 6:18am UTC](https://forums.unrealengine.com/t/when-i-enable-mobile-preview-my-material-isnt-appearing/585647/4 "2022-06-21T06:18:08Z")

</div>

![16557921584285843636712387169279](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/5/6d52caee9d0bed17600281c79838daa8011861e0.jpeg)  
After running it found out that this the node which keeps giving errors and i am noob to materials sooo did you know like how to replace it…

---

<div class="post-metadata">

**Author:** ![herb64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@herb64](https://forums.unrealengine.com/u/herb64)\
**Post date:** [June 21, 2022, 7:58am UTC](https://forums.unrealengine.com/t/when-i-enable-mobile-preview-my-material-isnt-appearing/585647/5 "2022-06-21T07:58:47Z")

</div>

The Layer Blend node itself should not be a problem. There was a limitation for 3 landscape layers on mobile, but as far as I know, this does no longer exist. So having material functions fed into the layer blend should be ok, then using a Break Material Attributes and feed the required outputs into the material node.

 ![uh011](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/0/0804ac871a5affbd0251452a9a905ac9809d3673.png)  
Note: In the above case, I used a Landscape Visibility Mask in addition to cut holes into the landscape (useful for caves etc…)

Not sure about the Height you are returing from your material functions. This makes me believe, that you maybe are going to use some tesselation later on. Tesselation input is not supported on mobile platforms, so this might be causing the problems.
