# Shallow water plugin not working in 5.8

**URL:** <https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339>\
**Category:** World Creation\
**Tags:** Water, unreal-engine\
**Created:** [September 7, 2026, 11:39am UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339 "2026-09-07T11:39:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [September 7, 2026, 11:39am UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/1 "2026-09-07T11:39:18Z")

</div>

In 5.8 shallow water plugin doesn’t capture any depth information resulting in no simulation running when “use capture” is on. With “use capture” off, the simulation results in a rectangle which ignores the underlying landscape. Confirmed on a clean project with the open world level template. Is there any workaround? @DevonPenney do you happen to have any information?

---

<div class="post-metadata">

**Author:** ![Chiraag03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chiraag03](https://forums.unrealengine.com/u/Chiraag03)\
**Post date:** [September 10, 2026, 10:21pm UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/2 "2026-09-10T22:21:14Z")

</div>

Hey! I have the same issue; have you fixed it?

---

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [September 11, 2026, 7:41pm UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/3 "2026-09-11T19:41:30Z")

</div>

Nope - shallow water is completely broken.

---

<div class="post-metadata">

**Author:** ![AirborneCoder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AirborneCoder](https://forums.unrealengine.com/u/AirborneCoder)\
**Post date:** [September 16, 2026, 6:02pm UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/4 "2026-09-16T18:02:08Z")

</div>

The problem was in Niagara’s scene-depth sampling shader. Incorrect ground heights saturated at **65504** , leaving water depth and velocity at zero.

In:

`Engine/Plugins/FX/Niagara/Shaders/Private/NiagaraDataInterfaceSceneCapture2DTemplate.ush`

Inside `TextureProjectDepth_{ParameterName}`, replace:

```auto
OutCaptureDepth = OutInBounds
    ? {ParameterName}_Texture.SampleLevel(
        {ParameterName}_TextureSampler, UVW.xy, MipLevel).r
    : DefaultDepth;

```

With:

```auto
[branch]
if (OutInBounds)
{
    OutCaptureDepth = {ParameterName}_Texture.SampleLevel(
        {ParameterName}_TextureSampler, UVW.xy, MipLevel).r;
}
else
{
    OutCaptureDepth = DefaultDepth;
}

```

Restart the editor, open **Grid2D\_SW\_River** , and choose **Compile → Full Rebuild**. Then test **Reset** with the viewport in realtime.

Keeping the sample inside an explicit branch restored valid ground heights and changing water depth/velocity. Reverting to the original shader reproduced the failure.

**Verified on UE 5.8.2, RTX 5090, driver 610.88.**

---

<div class="post-metadata">

**Author:** ![DevonPenney](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devonpenney/32/924223_2.png) [@DevonPenney](https://forums.unrealengine.com/u/DevonPenney)\
**Post date:** [September 17, 2026, 3:21pm UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/5 "2026-09-17T15:21:40Z")

</div>

Hi all- I’m going to look into this real soon.

---

<div class="post-metadata">

**Author:** ![DevonPenney](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devonpenney/32/924223_2.png) [@DevonPenney](https://forums.unrealengine.com/u/DevonPenney)\
**Post date:** [September 17, 2026, 4:16pm UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/6 "2026-09-17T16:16:33Z")

</div>

> [@Pete\_the\_B](#):
>
> h

Does anyone have a log I can see for this problem? That might be helpful. Also, for those reporting it not working, what kind of gpu do you have?

---

<div class="post-metadata">

**Author:** ![rajshikhar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rajshikhar](https://forums.unrealengine.com/u/rajshikhar)\
**Post date:** [September 18, 2026, 2:11pm UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/7 "2026-09-18T14:11:01Z")

</div>

This fixed for me… Thanks

---

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [September 22, 2026, 7:46pm UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/8 "2026-09-22T19:46:19Z")

</div>

Hi, my GPU is 5090 with all the latest drivers. I can provide you with all the info you need - I was debugging this issue for far too long and came to the conclusion, backed by experimental evidence, that the depth sampling in Niagara is just completely broken ATM. I didn’t check @AirborneCoder proposed fix so can’t confirm it works.

---

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [October 2, 2026, 11:23am UTC](https://forums.unrealengine.com/t/shallow-water-plugin-not-working-in-5-8/2763339/9 "2026-10-02T11:23:01Z")

</div>

@DevonPenney can confirm the fix by @AirborneCoder works.
