How to reproduce:
1. Open the user’s attached project “Bug Test.zip”
2. Build And Run
Expected result: Raycast detects collision by turning the “Sphere” GameObjects green
Actual result: Raycast does not detect collision by turning the “Sphere” GameObjects red
Reproducible with: 1.0.0-exp.4 (2021.3.25f1), 1.1.3 (2022.3.0f1, 2023.1.0b18, 2023.2.0a16)
Could not test with: 2020.3.47f1 (IL2CPP exception error when trying to build)
Reproduced on: Windows 10
Notes:
- Not reproducible when removing the Vector3.one division by 0 in "Test.cs"
- Issue reproduces only with a Navmesh Agent present in the project