> For the complete documentation index, see [llms.txt](https://docs.shadersource.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/troubleshooting.md). Agents can also search and read this documentation through its [MCP server](https://docs.shadersource.io/~gitbook/mcp).

# Troubleshooting

The questions that come up most with Ocean Tool 2, each with its fix.

Find what you are seeing in the left column. If your problem is not here, ask on the [Support Discord](https://docs.shadersource.io/support).

## The sea looks plain: no foam, no spray, nothing under water

The editor is running on **Shader Model 5**. The full ocean needs Shader Model 6; below it the plugin draws a simple water - moving, lit waves in the style's deep colour - so that projects which also target DirectX 11 still cook and run.

{% stepper %}
{% step %}
Open **Project Settings > Platforms > Windows**.
{% endstep %}

{% step %}
Set **Default RHI** to **DirectX 12**.
{% endstep %}

{% step %}
Under **D3D12 Targeted Shader Formats**, tick **SM6**.
{% endstep %}

{% step %}
Restart the editor.
{% endstep %}
{% endstepper %}

The same applies to a packaged game: a player whose graphics card runs only DirectX 11 gets the simple water. To ship the full ocean only, leave SM5 out of the targeted shader formats.

## Setting up

| What you see                                               | The fix                                                                                                                                                                      |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **SHADERSOURCE: Ocean Tool 2** is not in the mode selector | Enable the plugin in **Edit > Plugins** and restart the editor.                                                                                                              |
| The water is black, or has no colour                       | The level needs a **Sky Atmosphere**, a **Sky Light** and a **Directional Light** with **Atmosphere Sun Light** on. The water takes its colour and reflections from them.    |
| Fog hides the far sea                                      | Turn on **Sea haze** (**Simple > Sea**). It thins the level's height fog to a light haze; turning it off gives the fog back its own values.                                  |
| A line or a gap shows where the sea meets the sky          | Set **Horizon** (**Simple > Sea**) to **Match sky**, the default. It needs the level's **Sky Atmosphere**, and **Infinite ocean** on. (**Curved** is for worlds that curve.) |
| The plugin's content is not in the Content Browser         | Turn on **Show Plugin Content** in the Content Browser's settings.                                                                                                           |
| The first load of a level is slow                          | Shaders are compiling. It happens once per shoreline model and per quality level, then they are cached.                                                                      |

## Shoreline

| What you see                                               | The fix                                                                                                                                                                                                    |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| No waves break on the coast                                | **Shore > Shoreline**: the model is not **None**. **Shore > Volume**: the readout says **Saved capture**. If not, press **Capture & Bake**.                                                                |
| An **Out of date** warning                                 | The terrain, the volume or the sea level changed since the bake. Press **Capture & Bake** again, or tick **Re-bake automatically**.                                                                        |
| You changed a coast mesh, and no warning shows             | The check sees every landscape height and each rock or mesh's place, size and mesh, but not a mesh asset re-imported with a new shape. Press **Capture & Bake** yourself after that.                       |
| An **Out of date** warning on a level you have not changed | Press **Capture & Bake** once. A bake from a pre-release build of the plugin signed the level's path, so renaming, moving or duplicating the level flagged it; new bakes keep their stamp.                 |
| Waves break a long way out to sea                          | The sea bed stays shallow far from the beach. **Simple > Paint**: tick **Ocean painting**, set **Layer** to **Shoreline** and press **Trim Shoreline**. It needs a baked shoreline.                        |
| A cliff, a rock or a jetty is ignored                      | Add it to the Shoreline Volume's **Include actors** and bake again.                                                                                                                                        |
| Small rocks each get their own ring of wash                | Raise **Smooth out rocks** (**Shore > Shoreline**): rocks narrower than it are left out of the shoreline's depth.                                                                                          |
| A heavy sea buries the beach                               | **Limit shoreline wave height** (**Shore > Shoreline**), with a **Wave height limit**.                                                                                                                     |
| The sand does not get wet                                  | **Persistent wash wetness** is on (**Shore > Shoreline**, under **Beach Wetness**), and your ground receives DBuffer decals (**DBuffer Decals** in **Project Settings > Rendering**, on in a new project). |

## Simulated shore

| What you see                                | The fix                                                                                                                                                                                                                                                                                  |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The water is still in the editor            | Turn on **Realtime** in the viewport. Check **Debug > Simulation** has not been left on **Pause**.                                                                                                                                                                                       |
| Water runs through a rock                   | **Debug > Simulation > View on the water > Collision** shows what the water can see. Add the rock to **Include actors** and bake again, or give its mesh collision.                                                                                                                      |
| The surf is wrong after the terrain changed | **Capture & Bake**, then **Reset simulation**.                                                                                                                                                                                                                                           |
| It is too slow                              | **Simple > Perf > Simulated Shore**: lower **Simulation detail** and **3D foam detail**, or turn **Foam volume** off on **Shore > Shoreline**. See [Performance and Scalability](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/performance-and-scalability.md). |

## Water in the wrong place

| What you see                                           | The fix                                                                                                                                                                                                                 |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Water fills a cave, a basement or the inside of a hull | **Simple > Paint**: tick **Ocean painting**, set **Layer** to **Hide water** and paint it away. See [Painting the Ocean](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/painting-the-ocean.md). |
| The sea is at the wrong height                         | **Sea level** on **Simple > Sea**. Bake the shoreline again afterwards.                                                                                                                                                 |
| I want a lake or a bay with no waves                   | **Simple > Paint**: tick **Ocean painting**, set **Layer** to **Calm water** and paint over it.                                                                                                                         |

## Boats and floating objects

| What you see                               | The fix                                                                                                                                                                      |
| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| It sinks, or floats too high               | A floating object's **Density**; a boat's **Displacement**.                                                                                                                  |
| A buoy falls over                          | Turn on its **Stay Upright**.                                                                                                                                                |
| A boat rolls over                          | Lower its **Centre Of Mass Height**. Check its collision is the hull, not a box round the superstructure.                                                                    |
| No wake, no ripples                        | Turn on **Wakes** (**Simple > Buoyancy & Wakes**). The wake area follows the camera by default: a boat outside it makes none.                                                |
| Physics objects do not float in the editor | That is by design: they float in play. Tick **Physics floating in the editor** to see them float in the viewport.                                                            |
| No foam where an object meets the water    | Contact foam reads the custom depth pass (**Project Settings > Rendering > Custom Depth-Stencil Pass**), and is drawn on Single Layer Water only - not with **Default Lit**. |
| The example character does not animate     | It needs the engine's **Control Rig** plugin. Ocean Tool 2 depends on it, so it is enabled with the plugin: check it has not been turned off in **Edit > Plugins**.          |

More in [Buoyancy and Boats](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/buoyancy-and-boats.md).

## Sound

| What you hear               | The fix                                                                                                                            |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Nothing, in the editor      | That is the default: the ocean is always heard in play, and in the editor only once **Hear in editor** is on (**Simple > Audio**). |
| Still nothing in the editor | The editor's own **Real-Time Audio** is muted. The Audio page says so and offers **Turn on**.                                      |
| Nothing in play             | **Ocean Sound** is on, and its **volume** is up. **Play test sound** on the same page checks the chain.                            |

## Rendering and performance

| What you see                                                      | The fix                                                                                                                                                                                   |
| ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The sea is drawn in the editor but missing in play or in a render | See the next section.                                                                                                                                                                     |
| The far sea looks jagged or coarse in a low, grazing shot         | **Perf > Mesh LOD**: turn off **Grazing-angle LOD**, or lower its **Strength**. For a rendered shot, use **Offline rendering** instead.                                                   |
| Waves breaking close to the camera look faceted                   | **Perf > Mesh LOD**: turn on **Shoreline mesh detail**.                                                                                                                                   |
| Low frame rate near a coast                                       | Tick **Compute shoreline** (**Simple > Perf**). See [Performance and Scalability](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/performance-and-scalability.md). |
| No refraction, or no caustics seen from above                     | **Default Lit** is on (**Simple > Perf**). It draws the water opaque.                                                                                                                     |
| On Vulkan, reflections of the water in other surfaces look flat   | That is how ray-traced reflections see the water on Vulkan: its shape, in the style's deep colour. Viewed directly the ocean is unchanged.                                                |

## The sea is drawn but missing in a level with a lot of foliage

Unreal's renderer holds about 16.7 million mesh instances at once. Landscape grass and foliage are usually the bulk of them, and once the limit is passed whatever asks last is not drawn.

The ocean takes its instances when the level starts and keeps them, so it normally stays drawn in such a level. If something makes it take them again - a change of quality tier, or of ocean style - it can be left without.

{% stepper %}
{% step %}
Open the **Output Log** and search for `Instance data overflow`. If it is there, this is the cause.
{% endstep %}

{% step %}
Lower the level's instance count: `grass.DensityScale` for landscape grass, or the foliage's own density.
{% endstep %}
{% endstepper %}

## Still stuck?

* The [Support Discord](https://docs.shadersource.io/support) is the quickest way to reach us.
* When you ask, say which Unreal Engine version you are on, whether the editor is on DirectX 12 with SM6, and which ocean style and shore model you are using. A screenshot of the **Perf** page's readout helps.
