Tidal 2 URP

Upgrading

Upgrade notes for v2.2, including earlier migrations from v2.0 and v1.0.

From v2.1 to v2.2

  1. Project setup: use Unity 6 with URP 17 and RenderGraph. Unity 6.0 through 6.6 has been tested. Run Window > Tidal 2 > Validator after importing the update.
  2. Wave strength is per body: use body.WaveStrength, under Body > Core > Wave Strength. TidalFFTCompute.Strength is obsolete. Old scenes convert automatically; several bodies can share one simulation and use different strengths.
  3. Whirlpools: WhirlpoolFlowEmitter is now TidalWhirlpool; existing references are kept. New whirlpools start as a large maelstrom, so reduce their size for lakes and pools.
  4. Materials: the default moved to Modules/Core/Materials/Tidal_Surface.mat; existing references are unaffected. New materials use screen-space reflections with planar reflections off by default.
  5. SDF volumes: baking is built in. Assign the Source Renderer and use Regenerate SDF. LocalBounds and CrossSectionMesh were removed; the shape always comes from the source renderer.
  6. Wave Boxes: Crest Foam now defaults to 0.25, down from 2. Break settings are reduced to four controls; whitewash is always procedural.
  7. Demos and UI: TMP Essentials is no longer required. Backrooms is now Poolrooms. The Example Submarine creation menu was removed; use a Cube volume set to Exclude for a dry interior.
  8. Camera projection: underwater cut-aways need Perspective. Orthographic cameras and Scene view Iso still render the surface, but do not show bounded-body sides or volume cross-sections.
  9. Fast Enter Play Mode: Domain Reload off is supported, including the v2.2 preview resource-cleanup fixes.
  10. Queries: use TidalWaterBody.FindBodyAt(position) to resolve water and query its height, normal, current or submersion. Check the float.MinValue height sentinel. Under a breaking curl, use TryGetWaterColumn or TryGetWaterSurfaceBelow. See the current API examples.
  11. Camera: assign Viewer Cam on each body. The inspector shows an error when it is empty.
  12. Bounded bodies: lakes and pools can rotate around Y; infinite oceans cannot. Waves remain in world space.
  13. Authoring: use the Edit Water tools to paint height, calm water, foam and currents, or place features. Foam is also available as a zone type.
  14. Scoping: a non-empty Affected Bodies list is exclusive and ignores the layer mask. An empty list uses the layer mask.
  15. Boat effects: TidalPropulsion is BETA in v2.2; its settings and behaviour may change. Recheck throttle, submersion and Rigidbody settings on your boats.
  16. Release scope: rivers and ripple wake levels are planned for v2.3. WebGL and VR / XR remain unsupported.

From v2.0 to v2.1

v2.1 is a focused release. Scenes and prefabs upgrade on their own; only scripts that name the wave simulation type need edits. Nothing user-facing was removed.

  1. Scenes and prefabs: nothing to do. TidalCompute components reconnect as TidalFFTCompute on their own, because the script kept its GUID.
  2. Scripts:
    • Rename TidalCompute to TidalFFTCompute, or use the new base TidalWaveCompute for code that only needs the wave textures.
    • If you assigned TidalMeshSharedSettings.TCompute from a variable typed TidalCompute, retype it. The field is now typed TidalWaveCompute.
    • cascade0/1/2 are now read-only properties returning ITidalWaveCascade (Displacement, Derivatives, Turbulence), so code that only reads those textures still compiles. For other WaveFFTCascade members, switch to FFTCascade0/1/2 on TidalFFTCompute.
  3. Tessellation is off by default. Turn it on per body. Start at the defaults (Max Factor 16, Target Edge 0.25 m) and use Show Tessellation Wires to check density. See Tessellation.
  4. Vulkan: no setup. Enable Vulkan in Player Settings as usual.
  5. Profile menu renamed. Create → Tidal 2 → Water Profile is now Create → Tidal 2 → Water Profile FFT (Best Quality). Existing profile assets are unaffected.

From v1.0 to v2.x

Tidal 2 is a near-complete rebuild of Tidal's rendering, simulation, and interaction stack. The FFT ocean core remains, but almost everything around it is new or rewritten. Read the full list below before upgrading a v1.0 project.

Before you start
  • Back up your project and test the upgrade in a copy first.
  • Upgrade Unity (to Unity 6, 6000.0+) and URP (to URP 17) before upgrading Tidal.
  • Delete the old Assets/Tidal folder before importing Tidal 2 - the packages do not overlay, and Tidal 2 installs to Assets/Tidal 2.

Breaking changes & upgrade notes

  1. Unity 6 + URP 17 required. Upgrade the project before upgrading Tidal. Unity 2022 / 2021 are no longer supported; rendering is built on URP 17's RenderGraph API.
  2. Renderer feature. Remove any old UnderwaterEffectFeature from your URP renderer and add TidalRenderFeature - the validator will flag this. One feature now installs the surface, underwater, and meniscus passes and assigns per-body rendering layers.
  3. Lake bodies. Switch former Lake-mesh bodies to the quad mesh generator with Infinite Bounds off and set the body bounds - same visual result, one system.
  4. Materials. Tidal/Tidal gained many new properties (caustics, SSS, god rays, meniscus, reflections). Existing materials keep working; review the new defaults - they are tuned for a photoreal out-of-box look.
  5. Zones. Zones now bake. If a zone appears inactive, check its Affected Bodies / layer mask against the body - scoping is enforced per body now.
  6. Scripting. Move water-height queries to TryGetWaterSurface / GetWaterHeight on the body (CPU-fast, wake-inclusive). The old per-frame sampling paths were removed with the lake generator.
  7. Has Underwater moved. It now lives in the shared mesh settings (TidalMeshSharedSettings, drawn under the body's Core section). Bodies that had the old checkbox un-ticked revert to the default (on) - re-untick it after upgrading if needed.
  8. Validate. After upgrading, run Window → Tidal 2 → Validator (or the body inspector's validation panel) - the new rules catch every known misconfiguration, including build-only issues like missing bake shaders in Always Included Shaders.
  9. Install folder is Assets/Tidal 2. Upgrading from v1.0: delete the old Assets/Tidal folder before importing (the packages do not overlay).
  10. Ocean Size is now Body Size (TidalMeshSharedSettings.BodySize). Saved scene values migrate automatically; scripts referencing OceanSize must rename.
  11. Wake Produce Foam moved from the body to the interaction canvas (Interaction → Layers). The stored value does not migrate across that move - re-tick it on bodies that used wake foam. Scripts should read TidalCanvasSubSystem.WakeProduceFoam.
  12. Trimmed script surface. Unused public accessors were removed (among them TidalBuoyancy.Submerged01, the canvas layer-enabled getters and MaxLod, cascade debug getters, and the planar subsystem's property-name string constants). Inspector workflows are unaffected; scripts using a removed member should query the equivalent setting via the body's settings objects. Serialized-field renames use [FormerlySerializedAs], so scene and prefab data is preserved.

Removed in v2.0

Full details are in the changelog.