Current release baseline: Unity 2022.3.62+ and URP. The original manual mentioned 2021.3; the current store compatibility table starts at 2022.3.62f2.
Requirements
| Requirement | Details |
|---|---|
| Unity Version | 2022.3.62 or newer |
| Render Pipeline | URP (Universal Render Pipeline) — Built-in and HDRP are not supported |
| Color Space | Both Linear and Gamma are supported |
| Camera | Must be tagged MainCamera |
Setup Steps
Ensure URP is Configured
Go to Edit → Project Settings → Graphics and confirm a URP Pipeline Asset is assigned. If starting a new project, use the URP template.
Enable Read/Write on Custom Textures
If you use custom textures for distortion or alpha, enable Read/Write in the texture import settings. The asset's built-in textures already have this enabled.
Add Water to Your Scene
Create an empty GameObject and add the
ModernWater2Dcomponent. A default water sprite is loaded automatically — no sprite assignment needed. Alternatively, drag a water prefab from the demo scenes.Done!
Layers (
Water,WaterPostProcessing) and manager objects (2DWaterManagers) are created automatically. The water is ready to configure in the inspector.
The asset creates all required layers and manager objects automatically on first enable. Just add the component and go.
Your main camera must have the
MainCamera tag. The water uses Camera.main for projection matrices, viewport calculations, and reflection rendering.