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

**URL:** <https://forums.unrealengine.com/t/bug-with-water-and-landscape-when-build-package-game-ue5-bug/1713346>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [February 26, 2024, 8:02am UTC](https://forums.unrealengine.com/t/bug-with-water-and-landscape-when-build-package-game-ue5-bug/1713346 "2024-02-26T08:02:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hamaro02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hamaro02](https://forums.unrealengine.com/u/hamaro02)\
**Post date:** [February 25, 2025, 9:04pm UTC](https://forums.unrealengine.com/t/bug-with-water-and-landscape-when-build-package-game-ue5-bug/1713346/4 "2025-02-25T21:04:29Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/6/9a6b8029493d481f78136880f1a3003db99276c8.jpeg)

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’

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/f/b2f1ea135bc2613033f1d0ae095739d72c5fabe1.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/e/29ebb5046639172697013aa9cb5624a91811497a.jpeg)

---

_[View the full topic](https://forums.unrealengine.com/t/bug-with-water-and-landscape-when-build-package-game-ue5-bug/1713346)._
