Shadows problem

As you can see in this picture, sometimes i have problem with shadows. Look to the red boxes. I used a directional light, as you can see.

How to fix this??

In short, shadow distance in Quality Settings is what has the most effect on quality of directional light shadows.

For more details we have a full page in the docs describing directional light shadows.