# 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:** 20\
**Page:** 3

<div class="post-metadata">

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

</div>

I am having this exact same issue! going mad for a fix.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/c/99c5c8e66e735a28f461f13260c7b0a2d1e32c33.jpeg "Unreal Engine 5 Lumen Shadow Glitch | UE5") ](https://www.youtube.com/watch?v=wflhJ5y89rI)

---

<div class="post-metadata">

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

</div>

Will this patch fix Deferred Rendering (CSM) + instanced stereo?

---

<div class="post-metadata">

**Author:** ![Uno1982](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uno1982/32/982436_2.png) [@Uno1982](https://forums.unrealengine.com/u/Uno1982)\
**Post date:** [August 1, 2024, 4:39am UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/44 "2024-08-01T04:39:40Z")

</div>

Yes fixes csm on both rendering paths

---

<div class="post-metadata">

**Author:** ![jason81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jason81](https://forums.unrealengine.com/u/jason81)\
**Post date:** [August 1, 2024, 7:38pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/45 "2024-08-01T19:38:27Z")

</div>

I will try this fix, but everyone in my team will have to dot it. I just don’t think moving to unreal 5.4 is viable until its fixed by default.

---

<div class="post-metadata">

**Author:** ![Anthony\_Attwood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anthony\_Attwood](https://forums.unrealengine.com/u/Anthony_Attwood)\
**Post date:** [August 5, 2024, 4:45pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/46 "2024-08-05T16:45:00Z")

</div>

This issue is still quite persistent. I have a post process shader and what’s happening is all my shadows and lighting post processing is happening in my right eye, and there’s no lighting information, ambient occlusion or anything happening in my left eye.

Non of this has fixed it so far ☹

---

<div class="post-metadata">

**Author:** ![jeanzhaolu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jeanzhaolu](https://forums.unrealengine.com/u/jeanzhaolu)\
**Post date:** [August 7, 2024, 5:41am UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/47 "2024-08-07T05:41:16Z")

</div>

5.4.3-34507850+++UE5+Release-5.4  
dynamic shadow is still broken, which made it unuseable, I’m going back to 5.3

---

<div class="post-metadata">

**Author:** ![RotemShi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RotemShi](https://forums.unrealengine.com/u/RotemShi)\
**Post date:** [August 14, 2024, 7:03pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/48 "2024-08-14T19:03:58Z")

</div>

Thank you, this gave us a working solution!

---

<div class="post-metadata">

**Author:** ![NASAHDC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nasahdc/32/768108_2.png) [@NASAHDC](https://forums.unrealengine.com/u/NASAHDC)\
**Post date:** [August 15, 2024, 6:42pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/49 "2024-08-15T18:42:39Z")

</div>

**The shadow flickering issue in the left eye still persists when using VR in a large UE 5.4.3. project**

As a temporary fix you can use the console command “r.shadow.virtual.onepassprojection 0” which fixes the flickering but has a huge performance cost.

Here is some information on the settings/hardware that I am using:

GPU: RTX 4090  
CPU: I9-13900K

Nanite - Enabled  
Lumen - Enabled

Shadow Map Method - Virtual Shadow Maps

**Lumen Settings**  
Use Hardware Ray Tracing when available - Enabled  
Ray Lighting Mode - Hit lighting for Reflections  
High Quality Translucency Reflections - Enabled  
Software Ray Tracing Mode - Detail Tracing  
Ray Traced Translucent Refractions - Enabled

**Hardware Ray Tracing Settings**  
Ray Traced Shadows - Disabled

**VR Settings**  
Stereo Foveation Level - High  
Dynamic Foveation - Enabled  
Instanced Stereo - Enabled  
Mobile HDR - Disabled  
Mobile Multi-view - Enabled  
Round Robin Occlusion Queries - Enabled

**DLSS Settings**  
DLSS - Enabled  
DLSS Mode - Ultra Performance

Is this bug still being worked on?  
Is there an ETA for when this issue will be fixed in VR?

---

<div class="post-metadata">

**Author:** ![o.perrault.mawar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@o.perrault.mawar](https://forums.unrealengine.com/u/o.perrault.mawar)\
**Post date:** [August 27, 2024, 7:30pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/50 "2024-08-27T19:30:47Z")

</div>

I am reporting that the issue is still present in my left eye as of 5.4.3.

---

<div class="post-metadata">

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

</div>

Is this any different in 5.4.4?

---

<div class="post-metadata">

**Author:** ![jason81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jason81](https://forums.unrealengine.com/u/jason81)\
**Post date:** [August 28, 2024, 11:22pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/52 "2024-08-28T23:22:59Z")

</div>

Still broken in 5.4.4 . Started new VR template, changed light to movable, broken shadow in left eye.

---

<div class="post-metadata">

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

</div>

I was hoping for a fix, but it is still broken in 5.4.4. So it is still unusable for our VR-Projects. I hope, this will get some priority for future releases.

---

<div class="post-metadata">

**Author:** ![Tuar\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tuar\_Games](https://forums.unrealengine.com/u/Tuar_Games)\
**Post date:** [September 9, 2024, 6:36pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/54 "2024-09-09T18:36:12Z")

</div>

Hello this does not fix dynamic spotlight shadows… (since ue 4.x versione everything workerd fine) but dynamic spotligth shadows stop working…

---

<div class="post-metadata">

**Author:** ![Merancapeman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Merancapeman](https://forums.unrealengine.com/u/Merancapeman)\
**Post date:** [September 26, 2024, 1:45pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/55 "2024-09-26T13:45:19Z")

</div>

This is exactly why I was afraid to try and use Unreal for VR applications despite it being a selling point. Am now experiencing this on 5.4.4, that’s pretty garbage.

---

<div class="post-metadata">

**Author:** ![mjiggidy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mjiggidy/32/600480_2.png) [@mjiggidy](https://forums.unrealengine.com/u/mjiggidy)\
**Post date:** [September 29, 2024, 12:28am UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/56 "2024-09-29T00:28:08Z")

</div>

Just chiming to say I’ve got the issue too, on PC VR. Not to mention apparently a general performance hit since 5.4.

The issues in UE+VR are getting overwhelming. My own code has enough bugs… I don’t need UE’s additions 😉

---

<div class="post-metadata">

**Author:** ![Uno1982](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uno1982/32/982436_2.png) [@Uno1982](https://forums.unrealengine.com/u/Uno1982)\
**Post date:** [October 3, 2024, 1:42pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/57 "2024-10-03T13:42:44Z")

</div>

@VictorLerp just a heads up that 5.5 preview is having self shadow issues in foward rendering VR template. Wanted to jump in front of this now before release.

---

<div class="post-metadata">

**Author:** ![RotemShi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RotemShi](https://forums.unrealengine.com/u/RotemShi)\
**Post date:** [October 4, 2024, 6:43pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/58 "2024-10-04T18:43:04Z")

</div>

@Uno1982 did they fix the deferred pipeline at least?

---

<div class="post-metadata">

**Author:** ![Uno1982](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uno1982/32/982436_2.png) [@Uno1982](https://forums.unrealengine.com/u/Uno1982)\
**Post date:** [October 4, 2024, 10:08pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/59 "2024-10-04T22:08:53Z")

</div>

UPDATE:

Ok so for those of you who haven’t done the dance yet. MetaXR Meta Link is giving me issues after the update so instead of reinstalling I just wanted to dive in. I’ll apologize in advance as this is going to read like a play by play so it’s very systemically detailed to carefully outline the steps taken. So for everyone’s notes here all of this was done in PCVR over steamlink using the steam openxr runtime in vanilla 5.5 preview with a default template where I simply cleared lightmaps and set all lights to movable.

Current State of UE5.5 preview:

Forward Rendering - CSM - Instanced stereo enabled - Mobile multi view enabled (No shadows in right eye and weird self shadow issues)

Forward Rendering - CSM - Instanced stereo enabled - Mobile Multi view disabled (Solid white screen! Rebuild ALL reflections and lights etc and STILL SOLID WHITE)  
NOTE TO SHADER DEVELOPERS MOBILE MULTIVIEW FLAG SHOULD NOT NEED TO BE EVALUATED AT ALL FOR DESKTOP AS IT IS MOBILE ONLY!!!

Forward Rendering - CSM - instanced stereo disabled - Mobile Multi view disabled (Still Solid White)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/6/336432fe883b8dc394ac9d649e1f52086a37dcfb.jpeg)

NOTE: AT THIS POINT I’M STARTING TO THINK DISABLING MOBILE MULTIVIEW THE FIRST TIME CORRUPTED THE SHADER DDC  
Swapping to Deferred kicks of a shader recompile…

Deferred Rendering - CSM - Instanced Stereo enabled - Mobile Multi view enabled (Still Solid White)  
Deferred Rendering - CSM - Instanced Stereo enabled - Mobile Multi view disabled (Still Solid White)  
Deferred Rendering - CSM - Instanced Stereo disabled - Mobile Multi view disabled (Still Solid White)

Keep in mind that by work It’s a blurry (TAA) or jaggy (NoAA) deferred rendering mess and performs horridly with TSR.  
Deferred Rendering - VSM - Instanced Stereo enabled - Mobile Multi view enabled (Appears to work)  
Deferred Rendering - VSM - Instanced Stereo enabled - Mobile Multi view disabled (Appears to work)  
Deferred Rendering - VSM - Instanced Stereo disabled - Mobile Multi view disabled (Appears to work)

After swapping to VSM and kicking off the shader recompile I decided at this point to go back to CSM in deferred and test.  
Deferred Rendering - CSM - Instanced Stereo enabled - Mobile Multi view enabled (Broken shadows the same as Forward CSM)  
Deferred Rendering - CSM - Instanced Stereo enabled - Mobile Multi view disabled (Don’t even do this as it creates a dance to get away from the white screen)  
Deferred Rendering - CSM - Instanced Stereo disabled - Mobile Multi view enabled (Works)

At this point I was really confused about the cause of the white blowout behavior as I went back and disabled mobile multi view in deferred and it was fine  
Note: (there is a ddc on the bottom right with a zen dashboard then a option to delete data and restart zen server)

In Summary:  
CSM shadows regardless of renderer works if in PCVR if you disable instanced stereo (and you don’t destroy your shader DDC cache by disabling mobile multiview) and VSM on deferred works with instanced stereo.

I’ve yet to test mobile but I’m pretty certain its a similar situation to the CSM forward issue only that its being branched by the Mobile Multiview flag

Update:  
I was able to reinstall meta link app and get PCVR working in the MetaQuest OpenXR runtime with the vanilla 5.5 OpenXR plugin. The MetaOpenXR plugin however produces a huge amount of compiler errors so deployment testing updates for standalone will have to come later.

I also ran into the white screen again without messing with mobile multi view so I went through the process again and decided to compare UE5.4 with UE5.5 engine.ini … UE5.5 had raytracing=1, skin caching and bloom. I deleted these from the ini and it returned forward to working normally (after build → rebuild all) but keep in mind shadows in VR instanced stereo are still broken with CSM in both rendering paths.

As a sanity check I deleted the template project and recreated from scratch to see what the default VR Template Engine.ini state was… yay more shaders to compile! …  
5.5

```auto
r.ReflectionMethod=1
r.AntiAliasingMethod=3
r.SkinCache.CompileShaders=True
r.RayTracing=True

```

5.4

```auto
r.DynamicGlobalIlluminationMethod=1
r.ReflectionMethod=1
r.Mobile.AntiAliasing=3
r.AntiAliasingMethod=3

```

Why skin cache and raytracing is in the ini for the VRTemplate in UE5.5??!  
Don’t even get me guessing?!?

---

<div class="post-metadata">

**Author:** ![Aikirob](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aikirob](https://forums.unrealengine.com/u/Aikirob)\
**Post date:** [October 23, 2024, 1:51am UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/60 "2024-10-23T01:51:26Z")

</div>

has this seriously been going on for 6 months now?!?!?  
What is epic games doing?  
fix it already guys!

---

<div class="post-metadata">

**Author:** ![VictorLerp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorlerp/32/738381_2.png) [@VictorLerp](https://forums.unrealengine.com/u/VictorLerp)\
**Post date:** [October 25, 2024, 8:39pm UTC](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528/61 "2024-10-25T20:39:55Z")

</div>

> [@Uno1982](#):
>
> all of this was done in PCVR over steamlink using the steam openxr runtime

Are you able to reproduce with _any_ other XR system configuration? We don’t test Steamlink, and are not able to reproduce the issues with either Meta or SteamVR as the OpenXR runtime in 5.5.

[Previous page](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528.md?page=2)

[Next page](https://forums.unrealengine.com/t/ue5-4-and-5-4-1-shadows-are-broken-in-vr-vr-template-default-settings/1841528.md?page=4)
