# Stationary directional light not working in 5.4

**URL:** <https://forums.unrealengine.com/t/stationary-directional-light-not-working-in-5-4/1890207>\
**Category:** Rendering\
**Tags:** stationary-lights, unreal-engine\
**Created:** [June 5, 2024, 4:07am UTC](https://forums.unrealengine.com/t/stationary-directional-light-not-working-in-5-4/1890207 "2024-06-05T04:07:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xzesstool](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xzesstool](https://forums.unrealengine.com/u/Xzesstool)\
**Post date:** [June 5, 2024, 4:07am UTC](https://forums.unrealengine.com/t/stationary-directional-light-not-working-in-5-4/1890207/1 "2024-06-05T04:07:14Z")

</div>

Hello, the problem is I can’t make directional light as stationary to work, every mesh is render as dynamic shadow. Static meshs are showed as dynamic.  
In the same scene a point light works as intended with the same meshes.

-Dx12  
-Using Shadowmaps  
-Force no precompute off  
-Allow static lighting  
-No Global Illumination

Hours spent searching. I know there are a lot of topics about this but none have solved my problem.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Xzesstool](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xzesstool](https://forums.unrealengine.com/u/Xzesstool)\
**Post date:** [June 6, 2024, 12:11am UTC](https://forums.unrealengine.com/t/stationary-directional-light-not-working-in-5-4/1890207/2 "2024-06-06T00:11:17Z")

</div>

I found the solution it was BUG in unreal code in 5.4.1. Some goodfellow found it and changing the lines worked. weeks of work finally solved.  
here is the link:

> [@UE5.4 (and 5.4.1) shadows are broken in VR (VR Template, default settings)](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528):
>
> Please select what you are reporting on: Creative What Type of Bug are you experiencing? Other Summary I noticed this problem first in my project after I migrated to UE5.4. The shadows from objects were all broken. They are semi-transparent, distorted and jump all over the place when I turn my head. I then tried to create a project with VR Template from scratch and got the same result. We are talking about default rendering settings: Forward Shader, Virtual Shadow Maps, Lumen, Nanite. On top o…
