# Shadows not working in mobile / mobile preview in unreal 5.2

**URL:** <https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992>\
**Category:** Mobile\
**Tags:** unreal-engine, bug-report, editor, Rendering\
**Created:** [May 19, 2023, 7:43am UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992 "2023-05-19T07:43:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![irtezamasud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irtezamasud/32/538105_2.png) [@irtezamasud](https://forums.unrealengine.com/u/irtezamasud)\
**Post date:** [May 19, 2023, 7:43am UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/1 "2023-05-19T07:43:42Z")

</div>

There are no shadows while switch to mobile preview/mobile from unreal 5.2. Tried opengles2/3, vulkan.

Directional light, Spot light should have dynamic shadow even in mobile as per documentation and it’s working perfectly in 5.1. From new 5.2 In mobile/ mobile preview there is just no shadow. considering this as a bug. Anyone finding this issue too in 5.2?

\*\*Movable directional light/ moveable spot light shadows are enable in project settings. Still its not working from ue 5.2.

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [June 15, 2023, 12:21pm UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/2 "2023-06-15T12:21:45Z")

</div>

I am also having the same problem, in 5.2 when testing an AR project on my iPhone

---

<div class="post-metadata">

**Author:** ![irtezamasud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irtezamasud/32/538105_2.png) [@irtezamasud](https://forums.unrealengine.com/u/irtezamasud)\
**Post date:** [June 25, 2023, 7:03pm UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/3 "2023-06-25T19:03:39Z")

</div>

5.2.1 hotfix released. Still not fixed.

---

<div class="post-metadata">

**Author:** ![chrismcr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chrismcr](https://forums.unrealengine.com/u/chrismcr)\
**Post date:** [August 15, 2023, 4:58pm UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/4 "2023-08-15T16:58:54Z")

</div>

I had the same issue but came across this: [Reddit - Dive into anything](https://www.reddit.com/r/unrealengine/comments/yravb3/ue5_fully_dynamic_lighting_and_shadow_setup_for/) - the key for me was to reduce the ‘Dynamic Shadow Distance MovableLight’ value on the directional light.

---

<div class="post-metadata">

**Author:** ![sirus\_de\_virus1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sirus\_de\_virus1](https://forums.unrealengine.com/u/sirus_de_virus1)\
**Post date:** [August 19, 2023, 1:26pm UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/5 "2023-08-19T13:26:53Z")

</div>

I had the same problem on android and solved it by changing from forward shading to deferred shading in the rendering settings

---

<div class="post-metadata">

**Author:** ![Alkbabic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alkbabic](https://forums.unrealengine.com/u/Alkbabic)\
**Post date:** [August 23, 2023, 6:06pm UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/6 "2023-08-23T18:06:51Z")

</div>

deferred shading… for me this not work. UE 5.2.1

---

<div class="post-metadata">

**Author:** ![irtezamasud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irtezamasud/32/538105_2.png) [@irtezamasud](https://forums.unrealengine.com/u/irtezamasud)\
**Post date:** [November 3, 2023, 7:28pm UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/7 "2023-11-03T19:28:59Z")

</div>

Update on this issue:

It is fixed totally in 5.3.

FOR 5.2-----------  
Problem was only in preview for OpenglES. on 5.2 or previous. If you are using 5.2 then switch to Vulkan preview, it will be fine.  
\*\* It was only an issue with preview. On original device after packaging it will work just fine. Switching to Vulkan can give you an idea preview of your original device.

* * *

---

<div class="post-metadata">

**Author:** ![OSMGAMESSTUDIO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OSMGAMESSTUDIO](https://forums.unrealengine.com/u/OSMGAMESSTUDIO)\
**Post date:** [January 13, 2024, 6:49am UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/8 "2024-01-13T06:49:51Z")

</div>

solved  
i enable support movabile spotlight shadow  
project setting → engine → rendering → mobile shader permutation reduction → support movable spotlightshadows

 ![Screenshot 2024-01-13 121403](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/2/b12bbf89cf307e75940bfc46e0876fe800aff322.png)

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [March 12, 2024, 12:42am UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/9 "2024-03-12T00:42:33Z")

</div>

works well, i think i also had to changel lighting levels in world settings

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [April 18, 2024, 12:29am UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/10 "2024-04-18T00:29:35Z")

</div>

does anyone knows how to fix this on opengl?  
my target device does not support vulkan.

---

<div class="post-metadata">

**Author:** ![MattiaPompita](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MattiaPompita](https://forums.unrealengine.com/u/MattiaPompita)\
**Post date:** [September 5, 2024, 9:18am UTC](https://forums.unrealengine.com/t/shadows-not-working-in-mobile-mobile-preview-in-unreal-5-2/1170992/11 "2024-09-05T09:18:29Z")

</div>

In Vulkan preview doesnt work for me, only with opengl  
There are some fix?
