Hi there,
Thank you for reaching out and providing detailed reproduction steps for the crash you’re encountering with the Water Body plugin. We’ve reviewed the behavior and wanted to provide both some immediate workarounds and some details on issues present in later versions of the engine, should you choose to upgrade.
To work around the immediate crash in editor, you can set the following console variable in your project’s defaultEngine.ini:
r.Water.WaterInfo.RenderMethod=0
This will set the water info render method back to the legacy rendering method, which still works in 5.4, even with forward shading and instanced stereo enabled.
However, please note that this workaround only addresses the editor crash. Unfortunately, a separate known issue exists with the water body plugin and the default OpenXR backend. This causes a crash when playing using a VR headset in unreal engine 5.4. To address this second crash, you have two options:
Fix Option 1 – Source Engine + Patch
This issue is addressed in the following git commit: 781eb1e8 (Fix crash in water rendering when running with ISR on an OpenXR device (UE-207585))
If you’re using asource version of UE 5.4, or are willing to switch to source, you can cherry-pick the above commit to eliminate the crash.
Fix Option 2 – MetaXR Plugin (No Source Build Required)
As an alternative workaround, that does not require modifying the engine source:
- Install and enable the MetaXR plugin from Meta.
- Set the MetaXR->XR API to Oculus OVRPlugin + OpenXR backend in project settings (This is the default)
This avoids the OpenXR crash entirely for Meta headsets. However, please note that this approach will only work on Meta devices and is not a general solution for all PCVR platforms.
If you’re planning to upgrade to a later engine version, be aware of the following regressions in water rendering:
UE 5.6+
Water Body tile culling / flicking issue in VR. Water tiles flicker in and out of visibility when rendering with instanced stereo.
Requires instanced stereo rendering to be enabled (does not require forward shading to be enabled)
Must be either playing in VR or running with Emulated Stereo
UE 5.5+
Missing, patchy and incorrectly located water in VR. Water is missing or appears in wrong places due to incorrectly rendered WaterInfoTexture.
Does NOT require forward shading or instanced stereo to be enabled
Occurs only when playing in VR with a real VR headset (tested with Meta Quest 2 via link cable)
Does not occur when using emulated stereo (To test stereo rendering without a headset attached)
Workaround:
With forward shading DISABLED; setting r.Water.WaterInfo.RenderMethod=1 seems to resolve the issue. However, setting this console variable, with forward shading ENABLED, results in a crash.
UE 5.5 - 5.6 (Not present in latest ue5-main branch)
Missing, patchy and incorrectly located water in Editor. Water is missing or appears in wrong places due to incorrectly rendered WaterInfoTexture.
Workaround:
Disable forward shading.
Let us know if you have any further questions. We’ll also be submitting the two water body XR rendering issues affecting ue5-main for internal tracking, since these issues don’t appear to be known yet.
Best regards,
Thomas