# Mobile Dynamic shadows suddenly stopped working

**URL:** <https://forums.unrealengine.com/t/mobile-dynamic-shadows-suddenly-stopped-working/691160>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, UE4-27, question\
**Created:** [November 15, 2022, 1:28pm UTC](https://forums.unrealengine.com/t/mobile-dynamic-shadows-suddenly-stopped-working/691160 "2022-11-15T13:28:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GOLDENWOLFLK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GOLDENWOLFLK](https://forums.unrealengine.com/u/GOLDENWOLFLK)\
**Post date:** [November 15, 2022, 1:28pm UTC](https://forums.unrealengine.com/t/mobile-dynamic-shadows-suddenly-stopped-working/691160/1 "2022-11-15T13:28:55Z")

</div>

So as the title says, My android project had working dynamic shadows(from the directional light) on the packaged game. After that, I started making the missions system and the main menu, But I didn’t change anything related to lighting or rendering. And now the shadows are not working.

 ![photo_2022-11-15_19-00-58](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/5/0951a982f40d841b5308d85a969cfd6701834d17.jpeg)  
 ![Screenshot (12)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/0/be00e3308a8e544d6aa78e9f37f7937417ea956d.jpeg)  
^ in the editor (The packaged game also had shadows that looked exactly like this)  
 ![photo_2022-11-15_19-00-59](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/7/fb7e43615613bc14e44ae02bf6420afb51304a2a.jpeg)

**The old version with working shadows : [Link]**([SimplePirate-armv7.apk - Google Drive](https://drive.google.com/file/d/1ivw6KNiA6adoaZU_JiIDZWzdJU-Dki3b/view?usp=sharing))

**New version (shadows not working) : [Link]**([SimplePirate-Android-Shipping-armv7.apk - Google Drive](https://drive.google.com/file/d/1EmYd7aL6cSEf3bH90Np4Qrano8gcZntq/view?usp=sharing))

What could be the problem? I have a backup of the project folder which has working shadows. I tried copying the content folder into an old project folder but that didn’t do anything either.

Is there any way to fake dynamic shadows on mobile? (if there’s no solution to this) I really need shadows otherwise the game looks terrible. I can’t use baked static shadows because I need the Day-Night cycle.

---

<div class="post-metadata">

**Author:** ![Galvanicus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galvanicus](https://forums.unrealengine.com/u/Galvanicus)\
**Post date:** [November 20, 2022, 11:07pm UTC](https://forums.unrealengine.com/t/mobile-dynamic-shadows-suddenly-stopped-working/691160/2 "2022-11-20T23:07:27Z")

</div>

if you lower the camera distance, do they appear? If so you need to switch the distance of shadow draw distance in your default.ini file.

r.Shadow.RadiusThreshold

- Default Value: 0.03
- A lower value of 0.02 or 0.01 greatly increases shadow visibility at far camera distances

---

<div class="post-metadata">

**Author:** ![GOLDENWOLFLK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GOLDENWOLFLK](https://forums.unrealengine.com/u/GOLDENWOLFLK)\
**Post date:** [December 7, 2022, 1:02am UTC](https://forums.unrealengine.com/t/mobile-dynamic-shadows-suddenly-stopped-working/691160/3 "2022-12-07T01:02:08Z")

</div>

> [@Galvanicus](#):
>
> if you lower the camera distance, do they appear?

No, I tried all of the settings that I knew. it’s not about Threshold. There’s no shadows. I mean when the shadows were working, I got less than 50 fps. But now the game is running at 70+ fps. That means that the shadows are not working at all.
