# UE5.4 (and 5.4.1) shadows are broken in VR (VR Template, default settings)

**URL:** <https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, bug-report\
**Created:** [May 5, 2024, 4:54pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528 "2024-05-05T16:54:55Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![tomaaron872](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomaaron872](https://forums.unrealengine.com/u/tomaaron872)\
**Post date:** [July 8, 2024, 8:32pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/29 "2024-07-08T20:32:04Z")

</div>

Can somebody with the problems try to use the following:

r.Shadow.Virtual.OnePassProjection=0

It’s from the following thread:

> [@Lumen GI and Reflections feedback thread](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1785):
>
> Question - in pc-VR I see glitches in the left eye only when using Lumen (+Nanite +RT translucency). See video. Any suggestions how to fix that besides not-using Lumen? Edit: its a VSM issue Edit2: the issue is easily fixed by either settings the the lights that affect the surface to ray traced shadows OR disabling one optimization of VSM by r.Shadow.Virtual.OnePassProjection=0 [[lumenVRglitches in UE 5.42] ](https://www.youtube.com/watch?v=H1_HS_pX0Qs)

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528)._
