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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a2