# Shadows disappear for static and stationary light

**URL:** <https://forums.unrealengine.com/t/shadows-disappear-for-static-and-stationary-light/352343>\
**Category:** Rendering\
**Tags:** static-light, shadows-problem, unreal-engine, lighting-problem, Lighting, Rendering, question\
**Created:** [March 31, 2016, 9:05am UTC](https://forums.unrealengine.com/t/shadows-disappear-for-static-and-stationary-light/352343 "2016-03-31T09:05:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmareshB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amareshb/32/852526_2.png) [@AmareshB](https://forums.unrealengine.com/u/AmareshB)\
**Post date:** [March 31, 2016, 9:05am UTC](https://forums.unrealengine.com/t/shadows-disappear-for-static-and-stationary-light/352343/1 "2016-03-31T09:05:19Z")

</div>

Hey Guys, I’ve a very simple level for the purpose of testing lighting with a simple cube mesh and a directional light. Both are set to Static.

Whenever I move the cube around the level, the preview shadow is just shows up fine. But, as soon as I build the light there isn’t any shadow anymore.

Before Light Build

 ![84581-beforelightingbuild.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/b/44badbfcdc9efdea4939a057ef98f548809d4e59.jpeg)

After Light Build

 ![84582-afterlightingbuild.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/a/5aaec36a83aa998ec17bc1778f9b354729811833.jpeg)

If I set directional light to movable. The shadow shows up just fine.

As this is a mobile game, making everything dynamic is not gonna work for me.

Why is this happening? How can I solve this?

Thank You.

[EDIT] Same result with point light and spot light. But in an entirely new project everything works as expected. So, something might be wrong with my project. Can’t spot the problem though.

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [March 31, 2016, 11:23am UTC](https://forums.unrealengine.com/t/shadows-disappear-for-static-and-stationary-light/352343/2 "2016-03-31T11:23:22Z")

</div>

Check your lightmap resolution on the plane.

---

<div class="post-metadata">

**Author:** ![AmareshB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amareshb/32/852526_2.png) [@AmareshB](https://forums.unrealengine.com/u/AmareshB)\
**Post date:** [March 31, 2016, 12:30pm UTC](https://forums.unrealengine.com/t/shadows-disappear-for-static-and-stationary-light/352343/3 "2016-03-31T12:30:54Z")

</div>

@kurylo3d Thanks man… that worked. Somehow it was set to 4 and I changed it to 64 and the shadows work.
