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
- Capacity-size memory is copied instead of Length-size when using UnsafeUtility.memCpy()
- Console displays "SerializedObjectNotCreatableException: Object at index 0 is null" error during Unity theme change while "Tile Palette" window is opened
- Details are not shown when Error Message is still selected after changing Log Entry Count in the Console
- Disabling Unity VCS in Project Settings unfocuses the Project Settings Window
- Help box icon in "Tile Palette" window is blurry in both Unity themes
Add comment