Bug with water and landscape when build/package game! (UE5 bug)

Hi!
Terrible problem with the water plug-in! Everything is correct in the editor, but when building the game (dev and shipping), artifacts with water are observed there!
What is the problem here and can it be fixed?
I need to prepare the game for release, and here it’s such a horror.

Unreal 5.3.2.
I checked the Win 10 and mac 14.1.1 package.

Hi, did you found the solution?

No, as I understand it, unreal has frozen the development of the Water plugin. Bug fixes related to the distortion of meshes on top of water or navigation under water have not been fixed since the release of version 5.1.

Hi. I’m on 5.4.4 Source.
I had planes disappearing close to vertical edges around my single water plugin ocean BP.

What I found today to fix it for me was to edit “Water Opacity Mask offset” from -24 to -1000 (didnt care to check other values) in
/Script/Engine.MaterialFunction’/Water/Materials/Functions/WaterOpacityMaskFromDepth.WaterOpacityMaskFromDepth’


This worked for me in 5.4! Thanks!!!

This did the trick for us in 5.4 too. Thank you so much!

Same problem on 5.5.4, did you manage to find a solution? Editing opacity didn’t fix it for me.

Same on 5.7.4, has anyone found a solution? opacity didn’t help me either

I’m currently in 5.7.1 and changing the Opacity Mask Offset still works, but changing it on the specific HLOD material or Water_Material_Ocean doesn’t seem to work. You have to actually change it in the WaterOpacityMaskFromDepth Material Function, which can be found in the Content Browser under ‘Engine → Plugins → Water Content → Materials → Functions’. When you open that Material Function, scroll all the way to the left to find the ‘Water Opacity Mask Offset’ underneath the ‘WaterBodyData’ node. I even changed this to -5000 and I don’t see any artifacts anymore after packiging (development). Thanks @hamaro02 for the tip!