How to reproduce:
1. Open the user-attached “PathClosestPoint LatestPatch.zip” project
2. Open the “SampleScene” Scene
3. Select the “Sphere” GameObject in the Hierarchy window
4. Enter Play Mode
5. Note the “Nearest Point” value of the Script component
Expected result: The “Nearest Point” value is 3
Actual result: The “Nearest Point” value is a fraction value
Reproducible with: 2.6.17 (2020.3.43f1), 2.8.9 (2020.3.43f1, 2021.3.16f1), 2.9.4 (2020.3.43f1, 2021.3.16f1, 2022.2.1f1), 3.0.0-pre.3 (2022.2.1f1, 2023.1.0a24)
Reproduced on: macOS Monterey 12.6 (Intel), Windows 10 64bit - User Reported
Edit: The “Nearest Point” fraction value might be ~2.013 and or higher when testing