# UNiagaraDataInterfaceWater bFindClosestBody is unreliable in World Parition 

**URL:** <https://forums.unrealengine.com/t/uniagaradatainterfacewater-bfindclosestbody-is-unreliable-in-world-parition/2731845>\
**Category:** World Creation\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [May 19, 2026, 4:35pm UTC](https://forums.unrealengine.com/t/uniagaradatainterfacewater-bfindclosestbody-is-unreliable-in-world-parition/2731845 "2026-05-19T16:35:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [May 19, 2026, 4:35pm UTC](https://forums.unrealengine.com/t/uniagaradatainterfacewater-bfindclosestbody-is-unreliable-in-world-parition/2731845/1 "2026-05-19T16:35:15Z")

</div>

Hi,

We are seeing an issue with the bFindClosestBody flag on UNiagaraDataInterfaceWater. It seems to be unreliable based on the streaming order of the AWaterBody vs the Niagara emitter. The issue seems to be that it doesn’t search for closest water body unless SourceBodyChangeId changes which means that if the water body streams in after it will never find it. It also breaks in other scenarios like if body is a BP and the SCS runs in editor even if bFindClosestBody=false and it’s explicitly set.

Changing the code in UNiagaraDataInterfaceWater::PerInstanceTick to

```auto
// Do we need to update the water body component?
	if (InstData->WaterBodyChangeId != SourceBodyChangeId || !InstData->WaterBodyComponent.IsValid()) 

```

seems to resolve the issue for us since it looks up the weak pointer again and will find it successfully.

We wanted to pass the fix along, or at least let Epic know about the bug.

Thanks!

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [May 19, 2026, 4:35pm UTC](https://forums.unrealengine.com/t/uniagaradatainterfacewater-bfindclosestbody-is-unreliable-in-world-parition/2731845/2 "2026-05-19T16:35:20Z")

</div>

**Steps to Reproduce**  
Place a Niagara Emitter using UNiagaraDataInterfaceWater with a null SourceBodyComponent and bFindClosestBody in a World Partition map where both are spatially loaded. Observe that the water body is not always found.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Jonathan.Bard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonathan.Bard](https://forums.unrealengine.com/u/Jonathan.Bard)\
**Post date:** [May 20, 2026, 3:17pm UTC](https://forums.unrealengine.com/t/uniagaradatainterfacewater-bfindclosestbody-is-unreliable-in-world-parition/2731845/3 "2026-05-20T15:17:20Z")

</div>

Hi,

The fix seems reasonable : basically keep searching while there’s no water body. We will integrate this ASAP.

Thanks for letting us know!

Cheers,

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Jonathan.Bard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonathan.Bard](https://forums.unrealengine.com/u/Jonathan.Bard)\
**Post date:** [May 28, 2026, 7:58pm UTC](https://forums.unrealengine.com/t/uniagaradatainterfacewater-bfindclosestbody-is-unreliable-in-world-parition/2731845/4 "2026-05-28T19:58:33Z")

</div>

FYI, the fix has been integrated to UE5/Main : [https://github.com/EpicGames/UnrealEngine/commit/552377b0756486e65ed3b5e1b7760f64ffcd90c4\](https://github.com/EpicGames/UnrealEngine/commit/552377b0756486e65ed3b5e1b7760f64ffcd90c4%5C).

Thanks again

Cheers,

[Attachment Removed]
