Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.5.1f1
Issue ID
883558
Regression
No
ControllerColliderHit.moveLength() returns CharacterController.Move() parameter value instead of distance traveled by collider
Reproduction steps:
1.Open project attached (ReproduceBug.zip).
2.Open scene "Scene01".
3.Press play.
4.Press "Arrow up" to move.
Expected result: after collision with box, ControllerColliderHit.moveLength() returns 0.
Actual result: ControllerColliderHit.moveLength() returns CharacterController.Move() parameter value.
Note: expected result refers to https://docs.unity3d.com/ScriptReference/ControllerColliderHit-moveLength.html
Check console to see current ControllerColliderHit.moveLength() return value.
Reproduced on: 5.3.7p3, 5.4.4p4, 5.5.2f1, 5.6.0b10.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GameObjects change Hierarchy order when undoing adding Component to multiple GameObjects
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
Add comment