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.
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.
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’
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!