Search Issue Tracker


Fixed in 6000.0.0b16



Found in


Issue ID




transform.position assign attempt for 'gameObject' is not valid Errors logged when enabling Water Exclusion settings in the HDRP Water Sample



*Steps to reproduce:*

1. Create an HDRP Project

2. From the Package Manager import the Water Samples Project

3. Open Scene "Glacier"

4. Through the Samples Showcase custom Editor go to HDRP Water settings and Enable them one by one up to "Exclusion"

5. Enable "Exclusion"

*Actual results:* Error "transform.position assign attempt for 'IceChunk1' is not valid. Input position is \{ NaN, NaN, NaN }.
UnityEngine.Transform:set_position (UnityEngine.Vector3)" is logged in Console when enabling Exclusion for HDRP Water Settings and several gameObjects stop following set path along the water current

*Expected results:* No errors are logged to users when enabling or disabling Settings in a Sample Project

*Reproducible with versions:* 2023.3.0a17, 6000.0.0b15

*Not reproducible with versions:* 2021.3.37f1, 2022.3.25f1, 2023.2.18f1, 2023.3.0a16

*Tested on (OS):* Windows 11

*Notes:* Similar errors are printed in other Scenes as well. Other Water settings are affected also.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.