Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.1f1
2021.1
2021.2
Issue ID
1339454
Regression
No
Character Controller Closest Point returns incorrect position when the Center is offsetted
Reproduction steps:
1. Open the attached "CharacterControllerClosestPoint.zip" project
2. Open the "SampleScene" Scene
3. In the Hierarchy, select the "Capsules" GameObject
4. In the Scene View, compare the drawn Gizmos (opaque and wireframe spheres) around the Capsule Collider (Capsule_Col) and the Character Controller (Capsule_CC)
Expected result: Closest points (wireframe spheres) from locations (opaque spheres) are correct for both Colliders (Capsule Collider and Character Controller)
Actual result: Capsule Collider (Capsule_Col) closest points (wireframe spheres) are correct but the Character Controller (Capsule_CC) closest points (wireframe spheres) are visibly incorrect
Reproducible with: 2018.4.35f1, 2019.4.28f1, 2020.3.11f1, 2021.1.10f1, 2021.2.0a19
Note: Even when the Character Controller (Capsule_CC) Center is zeroed the closest point results slightly differ from a Capsule Collider (Capsule_Col) of the same height and radius
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in: 2021.2.0a21