Shadows disappear for static and stationary light

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

After Light Build

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.

Check your lightmap resolution on the plane.

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