How to reproduce:
1. Create a new HDRP project and make sure to use the Vulkan Graphics API
2. Go to Window -> Package Manager -> High Definition Render Pipeline -> Samples -> Water Samples -> Import
3. Go to Assets -> Samples -> High Definition Render Pipeline -> 17.3.0 -> Water Samples -> Scenes and open the "Island" scene
4. In the Hierarchy, select the "Water Sample Description" GameObject
5. In the Inspector, click on the "Water Exclusion" and enable the setting in the Opened Project Settings
6. Observe the Console
Expected results: No errors are thrown
Actual results: Multiple "transform.position assign attempt for 'Seagull(Clone)' is not valid" errors are thrown
Reproducible with: 6000.3.12f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1
Not reproducible with: 6000.0.71f1
Reproducible on: Ubuntu 24, macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Notes:
- Keeping it at regression set to "No" due to sometimes inconsistent nature of the bug
- The issue reproduces not only when enabling the "Water Exclusion", but also when disabling
- The issue reproduces better on Ubuntu, as the errors are thown specifically when enabling/disabling the setting
- On macOS, the errors are usually thrown when enabling the "Water Exclusion" and then saving the scene
- For better reproduction, it is better to create a new project in each version rather that upgrading/downgrading
Full error: transform.position assign attempt for 'Seagull(Clone)' is not valid. Input position is { NaN, NaN, NaN }.
UnityEngine.Transform:set_position (UnityEngine.Vector3)
FitToWaterSurfaceBurst:Update () (at Assets/Samples/High Definition Render Pipeline/17.6.0/Water Samples/Scripts/FitToWaterSurfaceBurst.cs:124)