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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a2