Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2018.4
2019.3.0f1
2020.2
Issue ID
1256900
Regression
No
Character Controller snaps downwards when the height needed to step on a GameObject is bigger than the Step Offset value
How to reproduce:
1. Open the attached "CharacterBug.zip" project
2. Open the "SampleScene" Scene
3. Select the "Capsule" GameObject in the Hierarchy window
4. Enter Play Mode
5. Press and hold the A key to move the "Capsule" GameObject to the platforms
6. Observe how the Character Controller behaves when it hits the last platform in the Game view
Expected result: Character Controller with Step Offset value of 0.8 stays in the air (1.08 on the Y-axis) when hits the last platform, which is of height 2
Actual result: Character Controller with Step Offset value of 0.8 is snapped downwards to ~0.295 on the Y-axis when hits the last platform, which is of height 2
Reproducible with: 2018.4.26f1, 2019.4.7f1, 2020.1.1f1, 2020.2.0a20
Notes:
- If the Step Offset value is increased to 0.9, the Character Controller gets snapped downwards to ~0.18 on the Y-axis
- If the Step Offset value is set to 0.6, the Character Controller stays in the air, so it snaps downwards only when the Character Controller's Step Offset value is very close to the height needed to step on the GameObject
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
- The Editor becomes unresponsive and memory allocation errors are spammed in the Console when Generating Lightning
- Crash on BatchApplyPropertiesFromSourceAssetDB when opening a specific project
- Scene view Camera cannot be moved with WASD/QE keys when the Right Mouse Button is held down and the Mouse is not moved
- Crash when calling default interface method from virtual method with same name
- [Android] Unity does not include the ".aab" extension for an AppBundle when it is built via script with the buildPlayerOptions.locationPathName = "AppName.apk" and EditorUserBuildSettings.buildAppBundle = true
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a2